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 01 Jul 2015, 02:43
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 Posts_count_1  
Author Message

Joined: 03 Mar 2012
Posts: 418

PostPosted: Fri 25 Jan 2013, 16:58    Post_subject:  Script to edit boot options on a Puppy Linux ISO
Sub_title: 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

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


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


./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!


./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.
Description  Bash script for appendin boot parameter psavemark to the file isolinux.cfg in
a puppy linux ISO.

Filename  PSaveMarkelyfy.gz 
Filesize  1.71 KB 
Downloaded  166 Time(s) 
Description  Showing a succesful execution.

Filename  psavemarkelyfy.jpg 
Filesize  161.87 KB 
Downloaded  180 Time(s) 
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot attach files in this forum
You can download files in this forum

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