Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] root on raid 1 = no boot
Date: Thu, 28 Aug 2008 16:03:51
Message-Id: 200808281803.38709.volker.armin.hemmann@tu-clausthal.de
In Reply to: Re: [gentoo-user] root on raid 1 = no boot by ert256
1 On Donnerstag, 28. August 2008, ert256 wrote:
2 > [ 28.08.2008 16:41 ], Volker Armin Hemmann :
3 > > Hi,
4 > >
5 > > I have tried to setup a software Raid1 for root (/), boot, home and var.
6 > >
7 > > So far, so good. Support is in kernel. The four ones are assembled:
8 > > Personalities : [raid1]
9 > > md3 : active raid1 sda6[0] sdb6[1]
10 > > 421906944 blocks [2/2] [UU]
11 > >
12 > > md2 : active raid1 sda5[0] sdb5[1]
13 > > 19534912 blocks [2/2] [UU]
14 > >
15 > > md1 : active raid1 sda3[0] sdb3[1]
16 > > 39061952 blocks [2/2] [UU]
17 > >
18 > > md0 : active raid1 sda1[0] sdb1[1]
19 > > 64128 blocks [2/2] [UU]
20 > >
21 > > looks good.
22 > >
23 > > and in grub.conf I have this:
24 > > title=raid
25 > > root (hd0,0)
26 > > kernel /vmlinuz root=/dev/md1 md=1,/dev/sda3,/dev/sdb3 nopat
27 > >
28 > > I also created md1,2,3, in /dev.
29 > >
30 > > But on every single boot I get a kernel panic because rootfs is not
31 > > found. Has anybody an idea why and what is going wrong?
32 >
33 > If you are sure kernel has compiled-in modules for raid, device mappers
34 > and others to look at the disk ..
35 > Maybe it is type of the partition, it should be FD which means
36 > 'Linux raid autodetect' .
37
38 it has raid1 compiled in. dm not. Why? I am not using it. And as I have
39 written in that other mail - all partitions are fd.