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
 

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

reply to topic new topic new poll
Topic: DSL boot sequence (HD install), request for info on usual boot sequence< Next Oldest | Next Newest >
flos Offline





Group: Members
Posts: 3
Joined: Jan. 2009
Posted: Feb. 11 2009,05:57 QUOTE

I am a newbie. I have checked through the Search facility on this forum, but have failed to find a fundamental piece of information: when I choose DSL in the Grub loader, a sequence of instructions is followed, but I cannot find out -
1) how to alter the boot options offered by grub
2) how the system finds the instructions it then follows
If a knowledgeable and cogent person can point me in the right direction, I shall be very pleased.
Regards to one and all,
Phil Headford
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Feb. 11 2009,13:10 QUOTE

1) http://damnsmalllinux.org/wiki/index.php/Cheat_Codes

Specific locations of menu.lst, not mentioned in the wiki:
In a frugal, non-toram system, the GRUB file is found at /cdrom/boot/grub/menu.lst
With toram, you'll probably need to mount your root partition.  If that partition is hda1, the file would be at /mnt/hda1/boot/grub/menu.lst.
In a traditional debian-style harddrive install, it would be /boot/grub/menu.lst.

2) The options are stored as a single string in /proc/cmdline, each option separated by a space.  During the init process, this file is read by /etc/init.d/dsl-config:
CMDLINE="$(cat /proc/cmdline)"
Whenever a boot option is needed, the $CMDLINE string is checked.


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





Group: Members
Posts: 3
Joined: Jan. 2009
Posted: Feb. 16 2009,12:37 QUOTE

Thank you for the info - I can continue working on it now.
Phil Headford
Back to top
Profile PM 
2 replies since Feb. 11 2009,05:57 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: DSL boot sequence (HD install)

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