When my kernel is updated, my system will not boot.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: grub
I'm using 64-bit Hardy.
Whenever I get Ubuntu updates in the update manager that involve updating the kernel, and thus updating the /boot/grub/
I have three hard drives, the first one is a SATA drive for Windows XP, the second is a SATA drive for Ubuntu, and the third is an extra IDE drive for my music files.
When a new kernel is installed and it updates my menu.lst file, it changes the hard drive part of the kernel line to "hd2,0" instead of the correct "hd1,0". After the kernel is updated, I go in and correct this in the menu.lst manually and it works fine, but if I ever forget to correct it and I reboot, it won't find the partition to boot from. (In that case, I press "e" to edit the kernel line in the grub menu to make it boot).
Even worse, if I install a fresh copy of Ubuntu hardy on my machine, after the installation finishes, it won't boot because it created a menu.lst file with the incorrect values by default.
This is a pretty serious bug at least to me, so I'm nominating it for release.
Please read the full warning in the menu.lst about the automagic section. You want to modify the groot line, not the individual entries. At any rate, this appears to be a duplicate of bug 8497, so I'm marking it as such.