Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 03 Jun 2020, 12:52
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Lucid Puppy Revitalized as 5.2.8.7 - Nov., 2017 - Final
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 15 of 70 [1039 Posts]   Goto page: Previous 1, 2, 3, ..., 13, 14, 15, 16, 17, ..., 68, 69, 70 Next
Author Message
mavrothal


Joined: 24 Aug 2009
Posts: 3107

PostPosted: Wed 12 Nov 2014, 03:28    Post subject: Re: Lucid Puppy Revitalized as 5.2.8.6!
Subject description: maybe implement save to folder
 

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.

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 3107

PostPosted: Wed 12 Nov 2014, 09:44    Post subject: Re: Lucid Puppy Revitalized as 5.2.8.6!
Subject description: save to folder for lupu 528
 

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" Very Happy

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" Very Happy
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) : Cool
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:
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
patches_luci.tar.gz
Description  Patches to the original lupu-5.2.8.6-20140321.iso. md5sum: 67f2348f4e9c61df764dbf5e674cd98f
gz

 Download 
Filename  patches_luci.tar.gz 
Filesize  130 KB 
Downloaded  228 Time(s) 
lucisave.png
 Description   lupu-5.2.8.6-20140321 running with a savefolder
 Filesize   144.63 KB
 Viewed   1210 Time(s)

lucisave.png


_________________
== Here is how to solve your Linux problems fast ==

Last edited by mavrothal on Sat 22 Nov 2014, 01:47; edited 3 times in total
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 3107

PostPosted: Fri 14 Nov 2014, 08:04    Post subject: Re: Lucid Puppy Revitalized as 5.2.8.6!
Subject description: save to folder for lupu 528
 

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" Very Happy
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... Embarassed

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 904
Location: Philadelphia, PA

PostPosted: Fri 14 Nov 2014, 10:17    Post subject: Re: Lucid Puppy Revitalized as 5.2.8.6!
Subject description: save to folder for lupu 528
 

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" Very Happy
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... Embarassed

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
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 3107

PostPosted: Fri 14 Nov 2014, 10:47    Post subject: Re: Lucid Puppy Revitalized as 5.2.8.6!
Subject description: save to folder for lupu 528
 

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
delta.jpg
 Description   
 Filesize   105.43 KB
 Viewed   992 Time(s)

delta.jpg


_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 3107

PostPosted: Sat 15 Nov 2014, 00:09    Post subject: Re: Lucid Puppy Revitalized as 5.2.8.6!
Subject description: save to folder for lupu 528
 

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 Very Happy (the wallpaper is NOT in the delta - modified from this original)
sulu2.png
 Description   
 Filesize   94.45 KB
 Viewed   926 Time(s)

sulu2.png


_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 3107

PostPosted: Sat 15 Nov 2014, 06:50    Post subject:  

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. Rolling Eyes
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.
Luci_SaveDir-6.pet
Description  For lupu/sulu/luci installation in pupmode 12 and 13, on a linux partition
pet

 Download 
Filename  Luci_SaveDir-6.pet 
Filesize  141.9 KB 
Downloaded  255 Time(s) 

_________________
== Here is how to solve your Linux problems fast ==

Last edited by mavrothal on Sat 22 Nov 2014, 01:58; edited 8 times in total
Back to top
View user's profile Send private message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 904
Location: Philadelphia, PA

PostPosted: Sat 15 Nov 2014, 11:31    Post subject: Re: Lucid Puppy Revitalized as 5.2.8.6!
Subject description: save to folder for lupu 528
 

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
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 3107

PostPosted: Sun 16 Nov 2014, 03:08    Post subject:  

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)

_________________
== Here is how to solve your Linux problems fast ==

Last edited by mavrothal on Sun 16 Nov 2014, 14:38; edited 1 time in total
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1753
Location: Brisbane, Australia

PostPosted: Sun 16 Nov 2014, 06:36    Post subject:  

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
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 3107

PostPosted: Sun 16 Nov 2014, 14:44    Post subject:  

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 Rolling Eyes, Version 4 of the script above now checks for preexisting savefolder and adds an new one if present.

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 3107

PostPosted: Fri 21 Nov 2014, 04:49    Post subject:  

Are only bots downloading?.... Confused
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)... Rolling Eyes

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 13823
Location: S.C. USA

PostPosted: Fri 21 Nov 2014, 05:45    Post subject:  

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. Exclamation

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 Shocked
YaPI(any iso installer)
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 3107

PostPosted: Fri 21 Nov 2014, 06:02    Post subject:  

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

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 904
Location: Philadelphia, PA

PostPosted: Fri 21 Nov 2014, 08:44    Post subject: small feedback of Nov 15  

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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 15 of 70 [1039 Posts]   Goto page: Previous 1, 2, 3, ..., 13, 14, 15, 16, 17, ..., 68, 69, 70 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1378s ][ Queries: 13 (0.0686s) ][ GZIP on ]