HD Install :: DSL boot sequence (HD install)



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

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.

Thank you for the info - I can continue working on it now.
Phil Headford


original here.