On Donnerstag, 28. August 2008, Neil Bothwick wrote:
> On Thu, 28 Aug 2008 16:54:03 +0200, Xav' wrote:
> > 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 !
>
> Could you please keep quiet about that, my computers have been using
> RAID root devices for years without an initrd and I don't want them to
> get the idea they need one now.
thanks, the last thing I want to deal with is an initrd.
>
> Volker, are sda3 and sdb3 marked as Linux Raid autodetect in cfdisk? If
> not you may need mdadm, but with the partitions marked as autodetect, the
> kernel should figure it out for itself.
fdisk -l /dev/sda
Platte /dev/sda: 500.1 GByte, 500107862016 Byte
255 Köpfe, 63 Sektoren/Spuren, 60801 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x00000000
Gerät boot. Anfang Ende Blöcke Id System
/dev/sda1 * 1 8 64228+ fd Linux raid autodetect
/dev/sda2 9 981 7815622+ 82 Linux Swap / Solaris
/dev/sda3 982 5844 39062047+ fd Linux raid autodetect
/dev/sda4 5845 60801 441442102+ 5 Erweiterte
/dev/sda5 5845 8276 19535008+ fd Linux raid autodetect
/dev/sda6 8277 60801 421907031 fd Linux raid autodetect
fdisk -l /dev/sdb
Platte /dev/sdb: 500.1 GByte, 500107862016 Byte
255 Köpfe, 63 Sektoren/Spuren, 60801 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x00000000
Gerät boot. Anfang Ende Blöcke Id System
/dev/sdb1 * 1 8 64228+ fd Linux raid autodetect
/dev/sdb2 9 981 7815622+ 82 Linux Swap / Solaris
/dev/sdb3 982 5844 39062047+ fd Linux raid autodetect
/dev/sdb4 5845 60801 441442102+ 5 Erweiterte
/dev/sdb5 5845 8276 19535008+ fd Linux raid autodetect
/dev/sdb6 8277 60801 421907031 fd Linux raid autodetect
if I only give root=/dev/md1 it won't boot either.
and from config:
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
CONFIG_MD_RAID1=y
are there more kernel options I might have missed?