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 Tue 02 Sep 2014, 08:18
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Script to edit boot options on a Puppy Linux ISO
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
Scooby

Joined: 03 Mar 2012
Posts: 305

PostPosted: 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

Example:

Code:
./PSaveMarkelyfy /mnt/sdb1/_ISO/Linux/AUTO/precise-5.4.3.iso


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.

Example:

Code:
./PSaveMarkelyfy -n 2  /mnt/sdb1/_ISO/Linux/AUTO/precise-5.4.3.iso



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!

Example

Code:
./PSaveMarkelyfy -i  /mnt/sdb1/_ISO/Linux/AUTO/precise-5.4.3.iso




Problem pups.

pussy-base-beta-preview2.iso - uses a file called live.cfg instead.


fatdog - has isolinux.cfg but has its own searchsystem.

lighthouse - has isolinux.cfg but different setup

There probably are more. These puppies could probably be made to work
by manually editing. I recommend using the -i option for these.
PSaveMarkelyfy.gz
Description  Bash script for appendin boot parameter psavemark to the file isolinux.cfg in
a puppy linux ISO.
gz

 Download 
Filename  PSaveMarkelyfy.gz 
Filesize  1.71 KB 
Downloaded  118 Time(s) 
psavemarkelyfy.jpg
Description  Showing a succesful execution.
jpg

 Download 
Filename  psavemarkelyfy.jpg 
Filesize  161.87 KB 
Downloaded  105 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0488s ][ Queries: 12 (0.0091s) ][ GZIP on ]