Tags:
Debian Sarge by default uses the Grub boot loader. Whether to use Lilo or Grub is a matter of taste. Actually they do not look much different when booting the system. But Grub has a tiny built in shell that allows you to boot certain partitions even if your boot configuration is broken. If you had used Lilo and made a mistake in your lilo.conf you would need to get a rescue disk.
These are the necessary changes to switch from Lilo to Grub...
According to the /usr/share/doc/grub/README.Debian file you need to change the file /etc/kernel-img.conf:
postinst_hook = /sbin/update-grub postrm_hook = /sbin/update-grub do_bootloader = no
Unlike Lilo, it is not necessary to re-run or re-install the boot loader after every change to /boot/grub/menu.lst is automatically found on GRUB's root disk and read during GRUB's boot process.
Run grub-install /dev/hda to install the boot loader.
Do not forget to run "update-grub" after the installation to update the menu list to your current list of kernels.
/dev/hda does not have any corresponding BIOS drive.
Check the /boot/grub/device.map if it looks correctly like this:
(hd0) /dev/hda
1 Comment
Is device.map relevant at boot up time?
Submitted by Anonymous (not verified) on
Here is an interesting post about the use of device.map: http://forums.fedoraforum.org/showthread.php?t=153679