>> Now I can boot from /dev/sdd, but the kernel panics because it can't
>> mount the root filesystem (/dev/md0p2). Entries in /etc/fstab on md0p2
>> are correct. I take it the md-devices aren't up/accessible in time.
>>
>> Any idea what's missing? Like there's no RAID support in grub?
>>
>> _______________________________________________
>> Help-grub mailing list
>> [email protected]
>> http://lists.gnu.org/mailman/listinfo/help-grub
>>
>
> Have you made a new initrd that has md and/or raid support?  I ran
> into a similar problem when using grub2 to boot off of an LVM
> partition.  I had to add a couple modules to the initrd /lib and edit
> the init script to load them.
>

Here's a few more details...

I had to add dm-mod.ko to the initrd /lib dir.

For init, I added the following right before the call to 'mkrootdev':

echo "Loading dm-mod.ko module"
insmod /lib/dm-mod.ko

mkblkdevs
echo Scanning logical volumes
lvm vgscan --ignorelockingfailure
echo Activating logical volumes
lvm vgchange -ay --ignorelockingfailure vg_name


I'm guessing that you might need an extra module for raid support and
maybe some extra lines in init, but maybe this will help get you
started.

_______________________________________________
Help-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to