Upgrade to 9.04 fails to boot - doesn't update grub menu

Bug #351961 reported by Skewray
4
Affects Status Importance Assigned to Milestone
grub (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Starter was fully updated 8.10. / was RAID 1 on /dev/md0. After upgrading, the machine drops into busybox with a message that it cannot find /dev/md0 in order to mount /.

Grub appears to not have been updated at all, and only has references to 2.6.27-11 and earlier kernels. 2.6.27-11 is the kernel that will no longer boot. Updating menu.lst by hand allows booting into the new kernel.

Brian

Tags: grub raid
Skewray (ubuntu-skewray)
description: updated
Skewray (ubuntu-skewray)
description: updated
Skewray (ubuntu-skewray)
description: updated
Revision history for this message
Skewray (ubuntu-skewray) wrote :

From term.log:

update-initramfs: Generating /boot/initrd.img-2.6.28-11-generic
Running postinst hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-2.6.28-11-generic
Found kernel: /vmlinuz-2.6.27-11-generic
Found kernel: /vmlinuz-2.6.27-7-generic
Found kernel: /memtest86+.bin
Updating /boot/grub/menu.lst ... done

...

rts: executing /etc/kernel/prerm.d/last-good-boot
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-2.6.28-11-generic
Found kernel: /vmlinuz-2.6.27-11-generic
Found kernel: /memtest86+.bin
Updating /boot/grub/menu.lst ... done

...

So the install does it right, than mangles it afterwards.

Brian

Revision history for this message
Skewray (ubuntu-skewray) wrote :

I just had something very similar happen on another computer, also an upgrade from 8.10 to 9.04 done yesterday. The final menu.lst only referenced older kernels. I think that perhaps the installer first created a new menu.lst using both 2.6.27-11 and 2.6.28-11, and then later made a new menu.lst based only on 2.6.27-11.

Revision history for this message
Monkey (monkey-libre) wrote :

I´ve assigned this bug to the grub package.

Thank You for making Ubuntu better.

affects: ubuntu → grub (Ubuntu)
Phillip Susi (psusi)
tags: removed: upgrade
Revision history for this message
dino99 (9d9) wrote :

This is no more a supported version; and grub legacy upstream is also stopped, only receiving possible random fixes locally

Changed in grub (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.