[Bug 701351] Re: grub-install fails to install on a raid1 array
gmoore777
guy.moore at comcast.net
Wed Feb 22 18:30:38 UTC 2012
I believe I have this exact problem using LucidLynx Alternate CD
10.04.4.
I put my specifics here:
http://ubuntuforums.org/showthread.php?p=11709060
I even edited /etc/mdadm/mdadm.conf as suggested in comment #55 of
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/527401,
but that didn't change anything.
I am still unable to run in an Alternate CD rescue mode shell:
grub-install --no-floppy --force --modules="raid mdraid" /dev/md0`
I get 3 errors of:
/usr/sbin/grub-probe: error: no mapping exists for `md0'.
How does anyone set up RAID1 using LucidLynx.
Has this been broken for 2 years?
--
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