How to permanently retain a boot option?

Booting, installing, newbie
Post Reply
Message
Author
User avatar
cowboy
Posts: 250
Joined: Thu 03 Feb 2011, 22:04
Location: North America; the Western Hemisphere; Yonder

How to permanently retain a boot option?

#1 Post by cowboy »

Hi. I'm running 4.3.1 on an ancient Winbook laptop, and would prefer to boot from Live CD each time. However, I also have to type in the boot option "pci=irqmask=0xafff" each time so that the pcmia slot on this old laptop will function with the touchpad.

Anyway, I'm at wits end trying to figure out how to have this boot option permanently retained. I know in a full install or frugal install, one could make an entry in menu.lst that would take care of this, but in a Live CD, I've tried to make entries in rc.local, but to no avail. I've typed the pci command in several ways, preceded and not preceded by puppy. Nothing seems to work. Any ideas would be appreciated.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#2 Post by nooby »

Some start up script that get saved on the CD?
If it is not too late when the boot look for a start up script?

Those that do script would be able to know maybe tell them more about it unless it is a very known thing.

Have you used this search for scripts?
http://www.wellminded.com/puppy/pupsearch.html
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#3 Post by Karl Godt »

Remaster the cd with an isolinux.cfg like that :
default puppy
display boot.msg
prompt 1
timeout 150

F1 boot.msg
F2 help.msg

label puppy
kernel vmlinuz
append initrd=initrd.gz pmedia=cd pfix=ram debug panic=60 pkeys=us

Code: Select all

apend initrd=initrd.gz pmedia=cd pci=irqmask=0xafff
I haven't remasterd for more than one month but as I remember watch out for changed files at /root /etc .
/root/.mozilla and /etc/X11/xorg.conf and /etc/X* -files are the only I did not put into the remastered CD .

helpful commands : unsquashfs --help && mksquashfs --help && cat /usr/sbin/remasterpup2 | grep iso

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#4 Post by CatDude »

Hello fescue

Welcome to the kennels.

You could do as Karl Godt suggests,
but there is no need to actually use the remaster script included in Puppy.

You could do things a lot quicker and easier manually.

Take a look at this: How to Manually Edit an ISO image before burning it to CD
in your case there is no need to add anything, simply edit the isolinux.cfg file,
then rebuild the ISO and burn it to disc.

Just change the parts of the command in bold, to suit your own situation

Hope this helps
CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

Bruce B

#5 Post by Bruce B »

I edit the .iso file with a hexeditor. What you want to change is plain text. There is plenty of white space to work with.

See attached picture
Attachments
edit-iso.jpg
(57.33 KiB) Downloaded 723 times

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#6 Post by nooby »

Jay that is cool! I did that too back in Z80 times on a small computer to change Debug to be 40 chars in a line instead of 80 chars which forced me to scroll sideways. :)

So now we only need to find a hexeditor for Puppy?


Bugman has this thread way back in 2009 "Which binary / hex editor for Puppy?"
http://www.murga-linux.com/puppy/viewtopic.php?t=38493

Bruce which one do you use? Does any puppy comes with one already installed?
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
cowboy
Posts: 250
Joined: Thu 03 Feb 2011, 22:04
Location: North America; the Western Hemisphere; Yonder

#7 Post by cowboy »

Thank you all so much for the replies. I suppose, though, I was looking for something a little simpler perhaps than hex editors and re-burning CD's. I'm pretty much a beginner, and had hoped there would be something like doing a text command inside the rc.local file.

Anyway, decided to do a frugal install instead, which will give me a menu.lst file that I can edit with the needed boot option. Again, thank you so.

Post Reply