Public bug reported: My gutsy system (i386) has been continuously updated since Tribe 2. I update exclusively with apt-get update, upgrad, dist-upgrade.
The last two kernel upgrades have fudged my grub menu.lst. The kernel and restricted modules and initramfs update successfully, and the grub update lines in the upgrade "look" normal, but under the covers it's wrong for the ubuntu stanzas. Other systems (this is a multi-boot system) are not affected. Here's an excerpt from the corrected menu.lst . . . ## ## End Default Options ## title Ubuntu gutsy (development branch), kernel 2.6.22-12-generic root (hd1,2) kernel /boot/vmlinuz-2.6.22-12-generic root=UUID=fd325db2-d682-495e-bd63-7a4b881b8913 ro quiet splash initrd /boot/initrd.img-2.6.22-12-generic quiet title Ubuntu gutsy (development branch), kernel 2.6.22-12-generic (recovery mode) root (hd1,2) kernel /boot/vmlinuz-2.6.22-12-generic root=UUID=fd325db2-d682-495e-bd63-7a4b881b8913 ro single initrd /boot/initrd.img-2.6.22-12-generic title Ubuntu gutsy (development branch), kernel 2.6.22-11-generic root (hd1,2) kernel /boot/vmlinuz-2.6.22-11-generic root=UUID=fd325db2-d682-495e-bd63-7a4b881b8913 ro quiet splash initrd /boot/initrd.img-2.6.22-11-generic quiet title Ubuntu gutsy (development branch), kernel 2.6.22-11-generic (recovery mode) root (hd1,2) kernel /boot/vmlinuz-2.6.22-11-generic root=UUID=fd325db2-d682-495e-bd63-7a4b881b8913 ro single initrd /boot/initrd.img-2.6.22-11-generic . . . (other ubuntu kernels follow) . . . ### END DEBIAN AUTOMAGIC KERNELS LIST After a kernel update, the new kernel stanzas are added, and all the ubuntu kernel entries have root (hd0,7) and the UUID is no longer that of hdb3. I failed to record the actual incorrect UUID. ls /dev/disk/by-uuid -al and blkid show nothing for hda8, an empty partition. This partition used to contain an earlier ubuntu system, removed before this problem reared its head. 1. How can I fix this? 2. How can this be cured permanently? It's a super PITA to need to boot an alternate system and repair the menu.lst manually. ** Affects: ubuntu Importance: Undecided Status: New -- upgrade kernel destroys ubuntu grub menu.lst entries https://bugs.launchpad.net/bugs/141642 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs