Here is a patch for Fedora Core 4 to create a modified /sbin/mkinitrd script (I called mine /sbin/mkinitrd2) to be able to create an initial ramdisk that can load dmraid so that you can start linux from the raid. The script copies /sbin/dmraid.static over to the initrd image, so you should compile dmraid using the ./configure --enable-static_link option, and copy the tools/dmraid file over to /sbin/dmraid.static The following assumes you have copied your system files over to the raid and installed grub on the boot partition). Apply the following patch to your existing /sbin/mkinitrd file to create mkinitrd2. --- mkinitrd 2005-05-17 15:03:33.000000000 -0700 +++ mkinitrd2 2005-10-31 11:18:47.000000000 -0800 @@ -587,6 +587,7 @@ inst /sbin/nash "$MNTIMAGE/bin/nash" inst /sbin/insmod.static "$MNTIMAGE/bin/insmod" +inst /sbin/dmraid.static "$MNTIMAGE/bin/dmraid" ln -s /sbin/nash $MNTIMAGE/sbin/modprobe if [ -n "$USE_UDEV" ]; then @@ -734,6 +735,8 @@ else echo "echo Making device-mapper control node" >> $RCFILE echo "mkdmnod" >> $RCFILE + echo "echo Activating dmraid" >> $RCFILE + echo "dmraid -ay --ignorelocking" >> $RCFILE echo "echo Scanning logical volumes" >> $RCFILE echo "lvm vgscan --ignorelockingfailure" >> $RCFILE echo "echo Activating logical volumes" >> $RCFILE ------------------ To create a new initrd image you would for example # cd /boot # mkinitrd2 initrd 2.6.13-1.1532_FC4smp replacing the initrd with the name of the initrd image file you want to create and the 2.6.13-1.1532_FC4smp with your kernel version string. Add the following to your /etc/grub/grub.conf file changing the /dev/mapper/sil_afbgdiadbbaa2 to the name of your actual root raid partition and the /initrd to the name of the initrd file that you created with mkinitrd2 and of course your kernel version and image filename to your actual version: title Fedora Core (2.6.13-1.1532_FC4smp) dmraid root (hd0,0) kernel /vmlinuz-2.6.13-1.1532_FC4smp ro root=/dev/mapper/sil_afbgdiadbbaa2 initrd /initrd -- _______________________________________________ Search for businesses by name, location, or phone number. -Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10 _______________________________________________ Ataraid-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/ataraid-list