Public bug reported:

When the order of the partitions in the partition table in the MBR is
not the same as the order of the partitions in the disk, the kernel
package installer changes the (hd0,X) to (hd0,Y) with Y being some other
partition. My guess is that the installer script counts the partition
numbers by looking at the order of the partitions on the disk instead of
looking at the partition table. GRUB uses the order in the partition

Example :
On my machine, Ubuntu is installed on /dev/sda3, known as (hd0,2) by GRUB.
This partition is actually the second partition on the machine because 
/dev/sda1 or (hd0,0) is an extended partition located at the end of the disk.
Because of this, when apt-get installs a new kernel, it tried to modify GRUB's 
menu.lst to write (hd0,1) instead of (hd0,2) for each boot option.

This probably does not affect many people because most have the same
order in the partition table as on the disk.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Kernel installer makes errors in new menu.lst
https://bugs.launchpad.net/bugs/241138
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to