4

[SOLVED] 8.04LTS: Upgrade to 2.6.24-27-generic kernel breaks grub

view full story
linux-howto

http://www.linuxquestions.org – This morning I upgraded to kernel 2.6.24-27-generic on my kubuntu 8.04.4LTS distro. I chose to have menu.lst modified by "the maintainers" or whatever they called themselves (I forget now). Grub failed with "No such Partition" Error 22. previous kernels would not boot either, failing with the same error. The relevant entry in menu.lst looked like this: Code: title                Ubuntu 8.04.4 LTS, kernel 2.6.24-27-generic root                (hd0,5) kernel                /boot/vmlinuz-2.6.24-27-generic root=/dev/sda5 ro vga=normal initrd                /boot/initrd.img-2.6.24-27-generic This is how it always used to look. But I had to change it to this: Code: title                Ubuntu 8.04.4 LTS, kernel 2.6.24-27-generic root                (hd0,4) kernel                /boot/vmlinuz-2.6.24-27-generic root=/dev/sda5 ro vga=normal initrd                /boot/initrd.img-2.6.24-27-generic All the other menu entries also needed the (hdx,y) partition number decrementing by one. Now grub boots fine. I'd file a bug report, but where? [EDIT] Report filed at https://bugs.launchpad.net/ubuntu/ [/EDIT] (HowTos)