Bug#296748: grub fails to translate lilo.conf if /boot is a separate partition
Sebastien Blondeel
Sebastien Blondeel <blondeel@clipper.ens.fr>, 296748@bugs.debian.org
Thu, 24 Feb 2005 14:23:22 +0100
Package: grub
Version: 0.95+cvs200406
Severity: important
I have a Debian stable on /dev/hda
I installed a Debian testing on /dev/hdb
I agreed for GRUB to take charge and translate automatically the LILO
configuration
I got the following message:
-=-=-=
Booting 'Linux (on /dev/hda5)'
root (hd0,4)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz root=/dev/hda4 ro
Error 15: File not found
Press any key to continue...
-=-=-=
when I selected the following entry:
-=-=-=
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda5.
title Linux (on /dev/hda5)
root (hd0,4)
kernel /vmlinuz root=/dev/hda5 ro
initrd /boot/initrd.img-2.4.18-k7
savedefault
boot
-=-=-=
I corrected it as follows to make it work:
-=-=-=
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda5. + corrected by SBI
title Linux (on /dev/hda5)
root (hd0,0)
kernel /vmlinuz-2.4.18-k7 root=/dev/hda5 ro
initrd /initrd.img-2.4.18-k7
savedefault
boot
-=-=-=
These are the relevant lines in the /etc/fstab file of my /dev/hda
Debian:
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hda5 / ext2 defaults,errors=remount-ro 0 1
/dev/hda1 /boot ext2 rw 0 2
This was especially annoying as the newly installed Debian testing was not fully functional...
I can send you my /dev/hda /etc/lilo.conf file if you need it.