Gentoo Archives: gentoo-user

From: ert256 <ert256@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] root on raid 1 = no boot
Date: Thu, 28 Aug 2008 15:24:33
Message-Id: 48B6C347.8010803@gmail.com
In Reply to: [gentoo-user] root on raid 1 = no boot by Volker Armin Hemmann
1 [ 28.08.2008 16:41 ], Volker Armin Hemmann :
2 > Hi,
3 >
4 > I have tried to setup a software Raid1 for root (/), boot, home and var.
5 >
6 > So far, so good. Support is in kernel. The four ones are assembled:
7 > Personalities : [raid1]
8 > md3 : active raid1 sda6[0] sdb6[1]
9 > 421906944 blocks [2/2] [UU]
10 >
11 > md2 : active raid1 sda5[0] sdb5[1]
12 > 19534912 blocks [2/2] [UU]
13 >
14 > md1 : active raid1 sda3[0] sdb3[1]
15 > 39061952 blocks [2/2] [UU]
16 >
17 > md0 : active raid1 sda1[0] sdb1[1]
18 > 64128 blocks [2/2] [UU]
19 >
20 > looks good.
21 >
22 > and in grub.conf I have this:
23 > title=raid
24 > root (hd0,0)
25 > kernel /vmlinuz root=/dev/md1 md=1,/dev/sda3,/dev/sdb3 nopat
26 >
27 > I also created md1,2,3, in /dev.
28 >
29 > But on every single boot I get a kernel panic because rootfs is not found. Has
30 > anybody an idea why and what is going wrong?
31 >
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 Rafał (ert16) Trójniak
39 m@il : ert256@×××××.com
40 Jid : ert256@×××××.com ert16@××××××.pl
41 GPG key-ID : DD681D47
42 749F E1DC A58F 9084 BBC0
43 797A 0691 53D6 DD68 1D47

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] root on raid 1 = no boot Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>