A nice little document I found on the debian-laptop mailing list talking about how to setup grub in a DebianLinux friendly way.
Here is my steps for install (btw, who ever maintains the GRUB docs, I think I might be willing to write a first draft install guide):
Partitions:
/dev/hda1 - /boot /dev/hda2 - /root
# grub-install /dev/hda
It warns me it can't find /dev/hda, but it creates a /boot/grub/devices.map. Checking this, I see it's using the long devfsd path. So I change
(hd0) to read: (hd0) /dev/hda
# grub-install /dev/hda
Runs okay...copies files over, etc.
- # update-grub
It creates a blank version of the menu.lst file in /boot/grub So I edit it changing the following (note they are commented out because they are run by update-grub not by grub itself):
#kopt=root=/dev/hda2 ro vga=ext #groot=(hd0,0)
Then re-run:
- update-grub
That's it!
To make sure dpkg -i kernel-image* correctly runs grub instead of lilo I have the following in /etc/kernel-img.conf:
postrm_hook = /sbin/update-grub postinst_hook = /sbin/update-grub
These turn off the bootloader (lilo) prompts and the boot floppy prompts
do_bootloader = no do_bootfloppy = no