mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Feb. 11 2009,13:10 |
|
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
|