Originally Posted by
karlson
grub...
Yes exactly. GRUB was not install on /dev/sdb, even though I've run
Code:
sudo grub-install /dev/sda
sudo grub-install /dev/sdb
When trying to install on md0 I got the following
Code:
sudo grub-install /dev/md0
usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.
/usr/sbin/grub-setup: error: embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
So the question was how to install GRUB. It turned out that I needed to run these commands
Code:
grub-setup -r ”(hd1)” /dev/sdb
grub-install --modules=raid /dev/sdb (thanks to HanB: http://ubuntuforums.org/showthread.php?t=1539205)
in order to install GRUB properly. After these commands have been run, I can take out either of the two drives, sda and sdb, and have a functioning system.
Thanks for all your help.
Bookmarks