** Summary changed:

- Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub
+ mdadm 0.9 metadata at the end of the disk confuses grub

** Changed in: grub2 (Ubuntu)
       Status: Incomplete => Triaged

** Changed in: grub2 (Ubuntu)
   Importance: Undecided => High

** Description changed:

- I tried to upgrade a server, and i was left with a broken grub2. I think
- it has to do something with LVM/RAID.
+ When using mdadm metadata format 0.9 and the partition is at the end of
+ the disk, grub can not tell whether it is the partition or the whole
+ disk that is the raid component, resulting in errors like:
  
- My setup: /root lies on LVM which is on a Raid5. There's not separate
- boot partition.
- 
- When i reinstall grub2 from the command-line i get the following errors:
- 
- ...
- 
- Setting up grub-pc (1.99-21ubuntu3) ...
- 
- Creating config file /etc/default/grub with new version
  error: found two disks with the index 0 for RAID md0.
  error: found two disks with the index 3 for RAID md0.
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
- error: found two disks with the index 0 for RAID md0.
- error: found two disks with the index 3 for RAID md0.
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: found two disks with the index 0 for RAID md0.
- error: found two disks with the index 3 for RAID md0.
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: found two disks with the index 0 for RAID md0.                         
                                                                                
                                                                     
- error: found two disks with the index 3 for RAID md0.
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: found two disks with the index 0 for RAID md0.
- error: found two disks with the index 3 for RAID md0.
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- /usr/sbin/grub-probe: error: unknown filesystem.
- Auto-detection of a filesystem of /dev/mapper/lvm-root failed.
  
- Try with --recheck.
- If the problem persists please report this together with the output of 
"/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v 
/boot/grub" to <bug-g...@gnu.org>
- error: found two disks with the index 0 for RAID md0.
- error: found two disks with the index 3 for RAID md0.
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: found two disks with the index 0 for RAID md0.
- error: found two disks with the index 3 for RAID md0.
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- /usr/sbin/grub-probe: error: unknown filesystem.
- Auto-detection of a filesystem of /dev/mapper/lvm-root failed.
- Try with --recheck.
- If the problem persists please report this together with the output of 
"/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v 
/boot/grub" to <bug-g...@gnu.org>
- error: found two disks with the index 0 for RAID md0.
- error: found two disks with the index 3 for RAID md0.
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: found two disks with the index 0 for RAID md0.
- error: found two disks with the index 3 for RAID md0.
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- /usr/sbin/grub-probe: error: unknown filesystem.
- Auto-detection of a filesystem of /dev/mapper/lvm-root failed.
- Try with --recheck.
- If the problem persists please report this together with the output of 
"/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v 
/boot/grub" to <bug-g...@gnu.org>
- error: found two disks with the index 0 for RAID md0.
- error: found two disks with the index 3 for RAID md0.
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: found two disks with the index 0 for RAID md0.
- error: found two disks with the index 3 for RAID md0.
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- /usr/sbin/grub-probe: error: unknown filesystem.
- Auto-detection of a filesystem of /dev/mapper/lvm-root failed.
- Try with --recheck.
- If the problem persists please report this together with the output of 
"/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v 
/boot/grub" to <bug-g...@gnu.org>
- error: found two disks with the index 0 for RAID md0.
- error: found two disks with the index 3 for RAID md0.
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: found two disks with the index 0 for RAID md0.
- error: found two disks with the index 3 for RAID md0.
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- error: superfluous RAID member (4 found).
- /usr/sbin/grub-probe: error: unknown filesystem.
- Auto-detection of a filesystem of /dev/mapper/lvm-root failed.
- Try with --recheck.
- If the problem persists please report this together with the output of 
"/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v 
/boot/grub" to <bug-g...@gnu.org>
+ This can cause unexpected failure after upgrading from 10.04.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/999076

Title:
  mdadm 0.9 metadata at the end of the disk confuses grub

To manage notifications about this bug go to:
https://bugs.launchpad.net/grub/+bug/999076/+subscriptions

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

Reply via email to