I'm trying to install Ubuntu using RAID 1. In this case I have 2 harddisks with equal size to be used for RAID. I've been able to configure RAID 1 when installing
localhost:~# cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid5] [raid4] [raid6] [raid10] md0 : active raid1 sda1 sdb1(F) 24418688 blocks [2/1] [U_] md1 : active raid1 sda2 sdb2 24418688 blocks [2/2] [UU]
/dev/md0 is mounted in
/dev/md1 mounted in
/home, but the problem is when I plugged off one harddisk, I can't boot my Ubuntu anymore. I think the problem is because the boot loader is installed in the harddisk (in my case in
/dev/sda) and not on the RAID device
Correct me if I'm wrong, but when when I plugged off the harddisk that has the bootloader, the OS can't boot. So how do I make my Ubuntu use the RAID 1 system so it can still boot in case one of the harddisks is plugged off?
I'm using Ubuntu 12.04 alternate.