Getting Grub2 to recognize a Raid 10 boot/root

Posted by xenoterracide on Server Fault See other posts from Server Fault or by xenoterracide
Published on 2010-05-16T08:31:32Z Indexed on 2010/05/16 8:40 UTC
Read the original article Hit count: 472

Filed under:
|
|
|
|

I've been trying to get my raid to boot from grub2 for about 2 days now and I don't seem to be getting closer. The problem appears to be that it doesn't recognize my raid at all. It doesn't see (md0) etc. I'm not sure Why or how to change this. I'm using mdadm, 2 device (essentially a raid1) raid10,f2, which is currently degraded.

I have tried adding the raid and mdraid modules with grub install along with others. I've tried several variation on grub-install such as grub-install --debug --no-floppy --modules="biosdisk part_msdos chain raid mdraid ext2 linux search ata normal" /dev/md0

I've been searching the net for an answer to what I haven't done but no luck. On my other drive which I plan on removing the raid is initialized and mounted fine on boot, but it's not the boot/root for that setup. My grub.cfg isn't recognized by grub since it can't read the raid partition so I'm not posting that. md0 is not listed in my /boot/grub/device.map.

© Server Fault or respective owner

Related posts about grub

Related posts about mdadm