[Bug 701351] Re: grub-install fails to install on a raid1 array
hamish
701351 at bugs.launchpad.net
Wed Jun 3 00:53:40 UTC 2015
For the record, grub-install doesn't work even if you set the target as the raw /dev/sda.
Same error message.
(lucid 10.04 LTS server, md raid1 metadata ver 1.2, grub 1.98-1ubuntu13)
thanks,
Hamish
** Changed in: grub2 (Ubuntu)
Status: Invalid => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/701351
Title:
grub-install fails to install on a raid1 array
Status in grub2 package in Ubuntu:
Confirmed
Bug description:
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 :-(
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/701351/+subscriptions
More information about the foundations-bugs
mailing list