Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ [1] 2 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: boot options, complete list?< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 18 2005,15:14 QUOTE

Anyone have a complete list of boot options for DSL?  The F2 file contains only a partial list.
minirt24 seems like the only other place to look, but so far i haven't had much luck.  Is it something extracted from the KNOPPIX file?

EDIT:  I think it may be minirt24 after all....gotta look more closely...

NEW QUESTION: Is it possible to edit minirt24 in a text editor without corrupting the file?


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: Mar. 18 2005,16:00 QUOTE

I have used the minirt24 howto's in the forum for editing. For some reason the first time I did it, it worked but ever since then I corrupt it every time!  :(

Chris
Back to top
Profile PM MSN YIM 
henk.1955 Offline





Group: Members
Posts: 41
Joined: Feb. 2005
Posted: Mar. 18 2005,16:14 QUOTE

minirt24.gz is THE root filesystem in ram.
if you want to edit it, you have to extract it, and then mount it like:
mount minirt24 /mnt/test -o loop
then when done editing, unmount it.
sync
sync
and zip it up again
btw. bootoptions are everyware over the system. places to look for are: linuxrc in minirt24, /etc/init.d/knoppix-autoconfig, /etc/init.d/dsl-config, /home/dsl/.xinitrc and some bootoptions are from the kernel itself or the bootloader
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 18 2005,18:03 QUOTE

Thanks.  I was looking through knoppix-autoconfig and found a few interesting things I didn't know about, although some seem to be unuseable knoppix leftovers.  I didn't notice dsl-config...i'll have to check that out.

If boot options are used in several places, does that mean they are stored in root's environment?  If so, one should be able to pass variables to bootlocal or other scripts through custom boot options.  I can't think of any specific use at the moment, but it could be fun to mess around with it.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
henk.1955 Offline





Group: Members
Posts: 41
Joined: Feb. 2005
Posted: Mar. 18 2005,18:28 QUOTE

if you do: cat /proc/cmdline
you will see the bootparams
in /etc/init.d/dsl-functions there are some usefull bash-script function to work with bootparams
look in /etc/init.d/dsl-config how they are used.
in a simular way you can use then in your own scripts, you can even "invent" new.

my cat /proc/cmdline
Code Sample
ramdisk_size=100000 init=/etc/init lang=us apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi vga=791 nomce fromhd=/dev/hda2 knoppix_dir=dsl-remix dma frugal lp restore=hda2 host=box13 alsa quiet home=hda7 opt=hda7

i "invented" the host=
Back to top
Profile PM WEB 
11 replies since Mar. 18 2005,15:14 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: boot options

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code