1 |
On Donnerstag, 28. August 2008, Neil Bothwick wrote: |
2 |
> On Thu, 28 Aug 2008 16:54:03 +0200, Xav' wrote: |
3 |
> > You have to know that the kernel isn't able to assemble RAID devices |
4 |
> > together without the use of mdadm. So you have to use an initrd with the |
5 |
> > mdadm binary to use a RAID root ! |
6 |
> |
7 |
> Could you please keep quiet about that, my computers have been using |
8 |
> RAID root devices for years without an initrd and I don't want them to |
9 |
> get the idea they need one now. |
10 |
|
11 |
thanks, the last thing I want to deal with is an initrd. |
12 |
|
13 |
> |
14 |
> Volker, are sda3 and sdb3 marked as Linux Raid autodetect in cfdisk? If |
15 |
> not you may need mdadm, but with the partitions marked as autodetect, the |
16 |
> kernel should figure it out for itself. |
17 |
|
18 |
fdisk -l /dev/sda |
19 |
|
20 |
Platte /dev/sda: 500.1 GByte, 500107862016 Byte |
21 |
255 Köpfe, 63 Sektoren/Spuren, 60801 Zylinder |
22 |
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes |
23 |
Disk identifier: 0x00000000 |
24 |
|
25 |
Gerät boot. Anfang Ende Blöcke Id System |
26 |
/dev/sda1 * 1 8 64228+ fd Linux raid autodetect |
27 |
/dev/sda2 9 981 7815622+ 82 Linux Swap / Solaris |
28 |
/dev/sda3 982 5844 39062047+ fd Linux raid autodetect |
29 |
/dev/sda4 5845 60801 441442102+ 5 Erweiterte |
30 |
/dev/sda5 5845 8276 19535008+ fd Linux raid autodetect |
31 |
/dev/sda6 8277 60801 421907031 fd Linux raid autodetect |
32 |
|
33 |
fdisk -l /dev/sdb |
34 |
|
35 |
Platte /dev/sdb: 500.1 GByte, 500107862016 Byte |
36 |
255 Köpfe, 63 Sektoren/Spuren, 60801 Zylinder |
37 |
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes |
38 |
Disk identifier: 0x00000000 |
39 |
|
40 |
Gerät boot. Anfang Ende Blöcke Id System |
41 |
/dev/sdb1 * 1 8 64228+ fd Linux raid autodetect |
42 |
/dev/sdb2 9 981 7815622+ 82 Linux Swap / Solaris |
43 |
/dev/sdb3 982 5844 39062047+ fd Linux raid autodetect |
44 |
/dev/sdb4 5845 60801 441442102+ 5 Erweiterte |
45 |
/dev/sdb5 5845 8276 19535008+ fd Linux raid autodetect |
46 |
/dev/sdb6 8277 60801 421907031 fd Linux raid autodetect |
47 |
|
48 |
if I only give root=/dev/md1 it won't boot either. |
49 |
|
50 |
and from config: |
51 |
CONFIG_MD=y |
52 |
CONFIG_BLK_DEV_MD=y |
53 |
# CONFIG_MD_LINEAR is not set |
54 |
# CONFIG_MD_RAID0 is not set |
55 |
CONFIG_MD_RAID1=y |
56 |
|
57 |
are there more kernel options I might have missed? |