Bug#459895: GRUB autoconfigured to an unbootable state
Boot method: CD
Date: 30 December 22:00
Machine: home-built desktop based on Via Epia M
Processor: Via C3 900MHz
Memory : 512 MB DDR
Disk setup: 2 IDE drives, 3 SATA drives
hda: unused (I plan to remove it soon)
hdb1 --> /boot
hdb2 --> extended
hdb4 --> swap
hdb5 --> /
sda, sdb, sdc: LVM; not assigned mountpoints during initial install
GRUB menu.lst (relevant part only):
title Debian GNU/Linux, kernel 2.6.18-5-486
kernel /vmlinuz-2.6.18-5-486 root=/dev/hdb5 ro
I installed GRUB on the MBR of hdb (note: SECOND IDE disk, not first). After
completing the installation and rebooting, GRUB reported "file not found"
for vmlinuz. The reason for this is that since GRUB was installed on the
second disk, hdb was assigned to (hd0) instead of (hd1). Changing the "root
(hd1,0)" line to "root (hd0,0)" made the system bootable again.
The GRUB configurator in the installer should have been sophisticated enough
to realize the drive would be re-mapped and written the menu.lst correctly.