On Thu, 28 Aug 2008 16:41:42 +0200, Volker Armin Hemmann <[EMAIL PROTECTED]> wrote: > Hi, > > I have tried to setup a software Raid1 for root (/), boot, home and var. > > So far, so good. Support is in kernel. The four ones are assembled: > Personalities : [raid1] > md3 : active raid1 sda6[0] sdb6[1] > 421906944 blocks [2/2] [UU] > > md2 : active raid1 sda5[0] sdb5[1] > 19534912 blocks [2/2] [UU] > > md1 : active raid1 sda3[0] sdb3[1] > 39061952 blocks [2/2] [UU] > > md0 : active raid1 sda1[0] sdb1[1] > 64128 blocks [2/2] [UU] > > looks good. > > and in grub.conf I have this: > title=raid > root (hd0,0) > kernel /vmlinuz root=/dev/md1 md=1,/dev/sda3,/dev/sdb3 nopat > > I also created md1,2,3, in /dev. > > But on every single boot I get a kernel panic because rootfs is not found. > Has > anybody an idea why and what is going wrong?
You have to know that the kernel isn't able to assemble RAID devices together without the use of mdadm. So you have to use an initrd with the mdadm binary to use a RAID root ! If you are using genkernel, add --mdraid to your kernel compilation command line. Once you have an initrd with the mdadm binary and appropriate script to assemble RAID arrays, you'll be able to boot from your root RAID array ;) HTH. -- Xavier