Comment 46 for bug 527401

Revision history for this message
Tim Hockin (thockin-hockin) wrote :

I've got this same problem, it seems.

I originally installed to /dev/sda. I later added 2 new disks. I manually (with the Ubuntu GUI, anyway) made a RAID1 of them, and have copied everything over to them.

Trying to install grub yields:

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

root@thdesktop:/# update-grub
Generating grub.cfg ...
/usr/sbin/grub-probe: error: no mapping exists for `md0'.

root@thdesktop:/# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.32-25-generic

Looking at /dev/md0 (and the disks that comprise it) I see no trace of GRUB having been installed there.

Do I need to redo the partitions? Differently how? With how much dangling space?