Bug#302359: /sbin/update-grub: update-grub and/or installer generate wrong menue.lst - system becomes unbootable

Johannes Wiedersich Johannes Wiedersich <johannes@physik.blm.tu-muenchen.de>, 302359@bugs.debian.org
Fri, 10 Jun 2005 14:58:33 +0200


Package: grub
Version: 0.95+cvs20040624-17
Followup-For: Bug #302359

I upgraded a woody system with hardware raid:
0000:02:0b.1 RAID bus controller: Mylex Corporation AcceleRAID
352/170/160 support Device (rev 02)

The upgrade itself went fine, but when I tried to reboot into the new
kernel, I found that lilo still showed the old boot menu, providing just
the old kernels. I installed grub.

After this the system became unbootable: apparently grub had messed up
the boot record and put something like

kernel          /vmlinuz-2.6.8-2-386 root=/dev/hdaX ro

in the menue.lst

Unfortunately, I didn't remember the exact term for my raid; as the system became unbootable, the only solution was to reinstall from scratch. 

I finally succeded by installing Sarge in expert26-mode and installed
grub on floppy disk.

Afterwards, taking care of grub's configuration files, I managed to
install it on the Raid array.

My grub.lst contains the crucial lines:

title           Debian GNU/Linux, kernel 2.6.8-2-386
root            (hd0,0)
kernel          /vmlinuz-2.6.8-2-386 root=/dev/rd/c0d0p4 ro
initrd          /initrd.img-2.6.8-2-386
savedefault
boot 

It took me more than 24h to get our server back to work and therefor consider it a serious bug of the new 'stable' version of Debian. 

Johannes

-- System Information:
Debian Release: 3.1
  APT prefers unstable
Architecture: i386 (i686)
Kernel: Linux 2.6.11.2-050507
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages grub depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-4        Shared libraries for terminal hand

-- no debconf information