Asus p9x79 mobo
intel i7 3820
2 ssd ata corsair neutron
32gb of ram
Here's what I did:
1. For both disks create 3 partitions (1. 100mb ext4, 2. 20gb linux-swap, 3. the rest unformatted)
2. used mdadm to combine sd[ab]3 into /dev/md0
3. ran LM14 installer and chose 'other' for where to install
4. picked sda1 as /boot
5. picked md0 as /
6. pointed grub to sda
I had previously done the above without the 100mb /boot partition which caused the install to fail at grub installation, which is why I chose to use a non-raid partition for /boot. This time, It seemed as if everything was going to work because install didn't throw any errors and finished with success.
When I tried to boot, the grub menu appears but booting fails with
Code: Select all
Gave up waiting for root device.
followed by a few lines of common problems then
Code: Select all
ALERT! /dev/md0 does not exist. Dropping to a shell
When I boot into live cd and open Gparted it first says that it can't find /dev/md0 but then /md127pl shows up instead. At this point I'm unable to access the files within the raid but if i download mdadm again I can access and see the installation of LM14. At this point I thought well maybe if I point grub to md127 instead of md0 then it would work so I went into grub.cfg and changed md0 to md127 in the two lines of root=...
I still got the same error as above except this time it said md127 doesn't exist. On the next boot into the LiveCD when I open Gparted it doesn't give me the error about not finding md0 and instead just shows md127. I still couldn't see the files on that partition until reinstalling mdadm.
It seems as though the problem is that my /boot partition doesn't have mdadm so grub doesn't know how to see the raided partition. Is this assumption correct? How do I resolve it?