Lucid Puppy Revitalized as 5.2.8.7 - Nov., 2017 - Final

A home for all kinds of Puppy related projects
Message
Author
User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: Lucid Puppy Revitalized as 5.2.8.6!

#211 Post by mavrothal »

sheldonisaac wrote:If when Richard or other expert wants to, can we have a save-to-folder like in the recent Slacko?

Please see
http://www.murga-linux.com/puppy/viewtopic.php?t=93559

I tried shinobar's pet,
save_to_directory-20140606.pet
but wasn't able to save to the created folder.
The changes involve the initrd and are not going to work cross-puppy.

If someone is to go for it, I would suggest the new approach instead described in http://www.murga-linux.com/puppy/viewtopic.php?t=95922

I would think that most of the patches could be applied with some work. However, lucid is old enough to have different logic in the init script, rc.sysinit and rc.shutdown (shutdownconfig does not even exist) so it needs more than just patching.

Alternatively, someone could use the scripts from precise or wary/racy but I'm not sure how well it may work with the rest of luci.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: Lucid Puppy Revitalized as 5.2.8.6!

#212 Post by mavrothal »

mavrothal wrote: If someone is to go for it, I would suggest the new approach instead described in http://www.murga-linux.com/puppy/viewtopic.php?t=95922
Well,... I gues I am the "someone" :D

Here there is a delta to rerwin's lupu-5.2.8.6-20140321.iso from the first post of the thread
(md5sum: 598c05106e8ca8fd3df0a1e7cd78a693 lupu-5.2.8.6-20140321.iso___lupu-5.2.8.6-savefolder.iso.delta).
Apply the delta (as described) to the lupu-5.2.8.6-20140321.iso to get the "lupu-5.2.8.6-savefolder.iso" :D
This version will allow lupu-528 to save to a folder, if on a linux partition.

Please note that as with the other ISOs in the "revitilized" series there is no version update, so you should either start afresh or manually replace initrd.gz and lupu_528.sfs in your installation.

I attach here the patches used so maybe you can modify your favorite lupu/sulu version. It should work with all of them.
The following files have been changed and provided in the tarball
initrd.gz/init
/etc/rc.d/rc.shutdown
/usr/bin/wmpoweroff
/usr/bin/wmreboot
/usr/local/bin//savefile2dir
/usr/local/petget/installpreview.sh
/usr/local/pup_event/frontend_funcs
/usr/local/quickpet/quickpet.sh
/usr/sbin/calcfreespace.sh
/usr/sbin/resizepfile.sh
/usr/sbin/sfs_load
/usr/sbin//shutdownconfig
/usr/sbin/snapmergepuppy and
/root/Startup/freememapplet_tray


It took a bit of work but I think is OK (screeny) : 8)
Pls check as it was not extensively tested.

The new ISO also contains the "savefile2dir" script that can turn your existing savefile into a savefolder. In the terminal type

Code: Select all

savefile2dir /path/to/lupusave.2fs
Please back up your savefile as the original will be deleted
If you do convert a savefile to a savefolder make sure you that it does not contain any of the files mentioned above as they will over-write the ones in the ISO. Delete them from your savefile if present.

Note: the couple of persons that downloaded the patches tarball may want to re-download the one with the indicated md5sum.
The sfs.patch should now apply cleanly on the rootfs.

Edit: The version with md5sum: d6603eb07171c77378c26fa2cb12a683 corrects quicksetup.sh so it works properly in pupmode 13 too.

Edit 2:The version with md5sum: 67f2348f4e9c61df764dbf5e674cd98f also stops resizepfile from running when a savefolder is used
Attachments
lucisave.png
lupu-5.2.8.6-20140321 running with a savefolder
(144.63 KiB) Downloaded 1210 times
patches_luci.tar.gz
Patches to the original lupu-5.2.8.6-20140321.iso. md5sum: 67f2348f4e9c61df764dbf5e674cd98f
(130 KiB) Downloaded 261 times
Last edited by mavrothal on Sat 22 Nov 2014, 05:47, edited 3 times in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: Lucid Puppy Revitalized as 5.2.8.6!

#213 Post by mavrothal »

mavrothal wrote:Here there is a delta to rerwin's lupu-5.2.8.6-20140321.iso from the first post of the thread
(md5sum: 598c05106e8ca8fd3df0a1e7cd78a693 lupu-5.2.8.6-20140321.iso___lupu-5.2.8.6-savefolder.iso.delta).
Apply the delta to the lupu-5.2.8.6-20140321.iso to get the "lupu-5.2.8.6-savefolder.iso" :D
This version will allow lupu-528 to save to a folder, if on a linux partition.
Hmmm, I guess no one wants to change a good thing... :oops:
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

Re: Lucid Puppy Revitalized as 5.2.8.6!

#214 Post by sheldonisaac »

mavrothal wrote:
mavrothal wrote:Here there is a delta to rerwin's lupu-5.2.8.6-20140321.iso from the first post of the thread
(md5sum: 598c05106e8ca8fd3df0a1e7cd78a693 lupu-5.2.8.6-20140321.iso___lupu-5.2.8.6-savefolder.iso.delta).
Apply the delta to the lupu-5.2.8.6-20140321.iso to get the "lupu-5.2.8.6-savefolder.iso" :D
This version will allow lupu-528 to save to a folder, if on a linux partition.
Hmmm, I guess no one wants to change a good thing... :oops:
Please excuse me, mavrothal; I was unsure whether to reply.
I (non-expert) tried to do the delta, didn't succeed.

First try was on the
169127936 Sep 15 22:14 /mnt/sda3/LinuxSrc/lupusuper2-5.2.8.6-k3.2.48-20140321.iso

Didn't work, even when renamed.
Perhaps a delta is only useful with the actual file it was made for?

So I downloaded the lupu-5.2.8.6-20140321.iso , but apparently didn't do the delta correctly.

I'll try again to delta later today

(I had also downloaded the patches file, but don't know how to use it.)

Thank you,
Sheldon
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: Lucid Puppy Revitalized as 5.2.8.6!

#215 Post by mavrothal »

sheldonisaac wrote: First try was on the
169127936 Sep 15 22:14 /mnt/sda3/LinuxSrc/lupusuper2-5.2.8.6-k3.2.48-20140321.iso

Didn't work, even when renamed.
Perhaps a delta is only useful with the actual file it was made for?

So I downloaded the lupu-5.2.8.6-20140321.iso , but apparently didn't do the delta correctly.

I'll try again to delta later today

(I had also downloaded the patches file, but don't know how to use it.)

Thank you,
Sheldon
The delta works only against the ISO was generated from.
So download the lupu-5.2.8.6-20140321.iso, and the delta file and put them in the same folder.
Then just click the delta file and you get the new ISO! (see pick).
Really hard to go wrong, but you must have the correct ISO for the specific delta and you should not have 2 ISOs with the same name.

Regarding the patches, is mostly for developers or power-user :wink:
Attachments
delta.jpg
(105.43 KiB) Downloaded 992 times
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: Lucid Puppy Revitalized as 5.2.8.6!

#216 Post by mavrothal »

sheldonisaac wrote:First try was on the
169127936 Sep 15 22:14 /mnt/sda3/LinuxSrc/lupusuper2-5.2.8.6-k3.2.48-20140321.iso
OK then, here is a delta for the lupusuper2-5.2.8.6-k3.2.48-20140321.iso to turn it into a lupusuper2-5.2.8.6-k3.2.48-savefile.iso,
ie a sulu_002 that can save to a folder.
(md5sum: 7496225c27aee2e0da6eb51d3501667a lupusuper2-5.2.8.6-k3.2.48-20140321.iso___lupusuper2-5.2.8.6-k3.2.48-savefile.iso.delta )

Download the 2 files put them in a folder and click on the delta file to produce the lupusuper2-5.2.8.6-k3.2.48-savefile.iso.
Use the iso either for a fresh install or to manually update your installation replacing the initrd.gz and sulu_002.sfs files.

Oh, and the customary screeny :D (the wallpaper is NOT in the delta - modified from this original)
Attachments
sulu2.png
(94.45 KiB) Downloaded 926 times
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#217 Post by mavrothal »

Attached is the Luci_SaveDir pet that should add the save-to-folder functionality in any running Lucid flavor (tested with lupu_528, sulu_002 and luci_001 - 3hd).

It requires a frugal install on an ext2/3/4 partition (PUPMODE=12/13) where the initrd.gz the puppy.sfs and the <flavor>save.2fs are in the same location.
Other booting/save combinations are not supported (try some deltas above instead).

Every care has been taken not to mess up your installation and if you uninstall things should return back to the original, but you never know. :roll:
So backup your files first

Edit: Version 3 of the script now works in PUPMODE 13 too ie booting from USB flash.
Is even less intrusive and changes almost nothing in your current savefile.
Finally corrects a bug in quicksetup so now works in pupmode 13 too (this bug is also present in the deltas above)
Edit 2 Version 4 of the script checks for a preexisting savefolder with the said name and if present adds one with the "_new" suffix, or prompts the user if both are there.
Edit 3 Version 5 of the pet works also when puppy files are at the root of the partition (ie not in a folder)
Edit 4 Version 6 of the pet works even when puppy files are in different directories. Also stops resizepfile from running when a savefolder is used.
Attachments
Luci_SaveDir-6.pet
For lupu/sulu/luci installation in pupmode 12 and 13, on a linux partition
(141.9 KiB) Downloaded 288 times
Last edited by mavrothal on Sat 22 Nov 2014, 05:58, edited 8 times in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

Re: Lucid Puppy Revitalized as 5.2.8.6!

#218 Post by sheldonisaac »

sheldonisaac wrote:If when Richard or other expert wants to, can we have a save-to-folder like in the recent Slacko?
Probably someone more knowledgeable than I can do it
mavrothal wrote:Download the 2 files put them in a folder and click on the delta file to produce the lupusuper2-5.2.8.6-k3.2.48-savefile.iso.
Use the iso either for a fresh install or to manually update your installation replacing the initrd.gz and sulu_002.sfs files.
Many thanks! I did it with pfix=ram, and will try to be careful about moving things from the old savefile.

Thanks again,
Sheldon
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#219 Post by mavrothal »

Version 3 of the save-to-folder pet above now also works is pupmode 13 (USB flash installations)
Is even less intrusive and changes almost nothing in your current savefile.
Also corrects a bug in quicksetup so now works in pupmode 13 too (this bug is also present in the deltas above)
Last edited by mavrothal on Sun 16 Nov 2014, 18:38, edited 1 time in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

#220 Post by gyro »

mavrothal wrote:Version 3 of the save-to-folder pet above now works is pupmode 13 (USB flash installations)
I downloaded it and had a look inside. It's a very interesting way of installing a facility like 'savefolder'. Makes it very easy for the user of a current puppy.
I can see a real possibility of requests for similar pets for other puppies.

gyro

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#221 Post by mavrothal »

gyro wrote:Makes it very easy for the user of a current puppy.
I can see a real possibility of requests for similar pets for other puppies.
Thanks
though I think that people that are not just distro/puplet hopping do not change what they use and are (apparently) happy with.

Having said that :roll:, Version 4 of the script above now checks for preexisting savefolder and adds an new one if present.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#222 Post by mavrothal »

Are only bots downloading?.... :?
A week latter the lupu-5.2.8.6-20140321.iso delta has 17 downloads
The lupusuper2-5.2.8.6-k3.2.48-20140321.iso delta has 5 downloads and
The pet to add the savefolder functionality to any running lupu, sulu or luci version without affecting your original save folder, 19 downloads,
And yet not one report of failure or success!
Must be bots (or file hoarders)... :roll:
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#223 Post by bigpup »

mavrothal,

Lucid Puppy is not the newest Puppy in the kennels anymore, so things move slow. :wink:

It is however, the Puppy version that will not die. Thanks to people like you!!!!

Usually, if something just works, you do not get much feedback.
Silence is a good thing. Everyone is happy. :!:

I myself just saw this, and have not tried it yet.

Thanks for offering this update to Lucid Puppy!!!!!
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#224 Post by mavrothal »

bigpup wrote:mavrothal,
Thanks but I'm not looking for encouragement or praise, but rather good old plain feedback since there is only so much testing that one can do :wink:
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

small feedback of Nov 15

#225 Post by sheldonisaac »

mavrothal wrote: And yet not one report of failure or success!
sheldonisaac wrote:
mavrothal wrote: Download the 2 files put them in a folder and click on the delta file to produce the lupusuper2-5.2.8.6-k3.2.48-savefile.iso.
Use the iso either for a fresh install or to manually update your installation replacing the initrd.gz and sulu_002.sfs files.
Many thanks! I did it with pfix=ram, and will try to be careful about moving things from the old savefile.
Sorry, my post of the 15th was too brief and did not mention any details.
As I recall, I did the "fresh install" method.
The sulusave-nov16 directory is now 91MB.

I hope soon to try the Luci_SaveDir-4.pet
EDIT:OK, I did.
Booted LuPuSuper2 pfix=ram.
Made a 32MB savefile.
Rebooted with it.
Clicked the Luci_SaveDir-4.pet
It protested that the initrd.gz was not the original (? or some such phase) and told me to uninstall, which I did.
I stored the existing Puppy files in a new sub-directory, and copied fresh ones from the original iso.
Repeated the above steps.
This time all went well, and I had an 11MB sulusave-tst1121 directory.
And was told I could delete the .2fs file if I wished.
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: small feedback of Nov 15

#226 Post by mavrothal »

sheldonisaac wrote: Booted LuPuSuper2 pfix=ram.
Made a 32MB savefile.
Rebooted with it.
Clicked the Luci_SaveDir-4.pet
It protested that the initrd.gz was not the original (? or some such phase) and told me to uninstall, which I did.
The installation script is for "standard" frugal installs and expects to find the initrd.gz and the savefile in the same directory and actually the directory defined in /etc/rc.d/PUPSTATE. If not it bails out.

Thanks for testing.
So no adverse effects yet? :twisted:

I guess one consideration may be the shutdown process since is fairly modified compared to the original, and the pet installation/removal as a fairly old PPM/snapmerge/aufs/aufs-utils version is used.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#227 Post by bigpup »

Tried the Luci_SaveDir-4.pet on a manual frugal install of Lucid on a hard drive partition formatted ext3.
The frugal install is not in a directory, I just put the Lucid files in the top layer of the partition.

I got a similar Red error message about initrd.gz was not the original.

I assume not having the Lucid files in a directory is why.
The installation script is for "standard" frugal installs and expects to find the initrd.gz and the savefile in the same directory
Manual frugal installs can bypass the normal, so just something to think about.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

Luci_SaveDir-

#228 Post by sheldonisaac »

bigpup wrote:Tried the Luci_SaveDir-4.pet on a manual frugal install of Lucid on a hard drive partition formatted ext3.
The frugal install is not in a directory, I just put the Lucid files in the top layer of the partition.

I got a similar Red error message about initrd.gz was not the original.

I assume not having the Lucid files in a directory is why
.

My Lucid files were all manually put in the same directory, /mnt/home/Sulu, where has been the directory for super lucid 2 files for several months.

The initrd.gz is now 3693565 bytes , while the original (just looked at in the iso) is 3685450 bytes

Thanks,
Sheldon
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#229 Post by mavrothal »

bigpup wrote:Tried the Luci_SaveDir-4.pet on a manual frugal install of Lucid on a hard drive partition formatted ext3.
The frugal install is not in a directory, I just put the Lucid files in the top layer of the partition.
Did you have a savefile created or just the 3 files (initrd.gz, vmlinuz and puppy.sfs)?
The install script is for Luci installations running with a savefile already.
For fresh installs use the delta instead and install as you see fit.
bigpup wrote:I got a similar Red error message about initrd.gz was not the original.
:? :?
There is not such an error message during installation! The 2 error messages are the ones shown below
There is an uninstallation error (also shown) but this is irrelevant if the installation failed (as the message implies).
Attachments
install_errors.png
Two possible error messages during installation
(10.42 KiB) Downloaded 377 times
uninstall_error.png
Possible error message during uninstallation
(7.46 KiB) Downloaded 393 times
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#230 Post by mavrothal »

bigpup wrote:Manual frugal installs can bypass the normal, so just something to think about.
I did.
Try version 5 of the pet.
It should now work when files at at the root of a partition too.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

Post Reply