Public bug reported:

Binary package hint: grub2

This bug is very similar to 
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/527401 but different with 
a twist: I'm running mdraid version 1.0, whereas the above bug explicitly 
states that the fix is for version 0.9.
To recap:

# lsb_release -rd
Description:    Ubuntu 10.04.1 LTS
Release:        10.04

# apt-cache policy grub2
grub2:
  Installed: 1.98-1ubuntu9
  Candidate: 1.98-1ubuntu9
  Version table:
 *** 1.98-1ubuntu9 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Packages
        100 /var/lib/dpkg/status
     1.98-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages


# grub-install --recheck --modules="mdraid raid" /dev/md1
/usr/sbin/grub-probe: error: no mapping exists for `md1'.
/usr/sbin/grub-probe: error: no mapping exists for `md1'.
/usr/sbin/grub-setup: error: no mapping exists for `md1'.

# grub-probe -t fs /boot
grub-probe: error: no mapping exists for `md1'.

# grub-install -v 
grub-install (GNU GRUB 1.98-1ubuntu9)

# cat /proc/mdstat

md1 : active raid1 sdc1[3] sda1[0]
      530100 blocks super 1.0 [3/2] [UU_]

NOTE: "super 1.0" above means this is mdraid version 1.0, not 0.9

Comments in bug 527401 (specifically comment 9) suggests that perhaps
grub does not (yet?) support raid versions 1.0, 1.1 or 1.2

The upshot is that I'm unable to write the MBR and install grub on
either /dev/sda, /dev/sdb or /dev/sdc :-(

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

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

Title:
  grub-install fails to install on a raid1 array

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to