Posted: Fri 25 Jan 2013, 16:58 Post subject:
Script to edit boot options on a Puppy Linux ISO Subject description: PSaveMarkelyFy
This is primarily a helper for those that use Easy2Boot USB described here and here
OBS! added new option -i gives user a choice iof manually edit .cfg files
With -i psavemark boot option will not be added automatically!
There was a problem with savefiles not found using this method. Worth to mention is that in ArchPup savefile works fine without intervention!
The problem can be fixed in most puppies by booting with parameter psavemark set to the number of the partition with the savefile.
This can be done at boot time by hitting F2 and then start with
Code:
puppy psavemark=1
But doing this at every boot soon becomes tedious so I created a script
to automate the process. The script can be downloaded at the bottom of the post.
After uncompressing you may have to give it right to execute by
Code:
chmod +x PSaveMarkelyfy
This bash script works by adding psavemark parameter to a puppy linux ISO.
You execute it with ./PSaveMarkelyfy file file is an absolute path to the puppy ISO file
The script will backup your ISO in a .bak file. Just remove extension .bak if you want it back.
The script will append boot option psavemark to isolinux.cfg file.
If your savefile is located anywhere else than first partition you can set the number of the
partition where it is located with the n option.
The savefile must be placed on USB, not on internal hard drive.
Most puppies work but not all!
To remedy this a new option -i was implemented.It gives user a choice of manually edit .cfg files
With -i psavemark boot option will not be added automatically!
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