On Sat, 16 May 2009 13:33:04 +0200
Maximilian Bräutigam <max-br...@gmx.de> wrote:

> could you please tell me, where to find these options in menuconfig,
> because if i'm compiling my kernel i use:
> genkernel --menuconfig all
> 
> if you are thinking of the options in 
> http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
> -- these are enabled.

Yes, I mean these options as well, but in recent kernels there's one
more flag in "Multi-dev" section that's missing in the guide:
"Autodetect RAID arrays during kernel boot".
Obviously, it should be set if you want to boot from mdraid.

  Device Drivers  --->
    [*] Multiple devices driver support (RAID and LVM)  --->
      <*>   RAID support
        [*]     Autodetect RAID arrays during kernel boot
        <*>     RAID-1 (mirroring) mode

But that's not all the prequesites, since you also need a device
and fs driver compiled in.

It might look like this (but the hardware and/or fs is probably
different in your case):

  Device Drivers  --->

    SCSI device support  ---> (RAID settings here is not for sw raid)
      -*- SCSI device support
      <*> SCSI disk support

    <*> Serial ATA (prod) and Parallel ATA (experimental) drivers  --->
      <*>   AHCI SATA support
      [*]   ATA SFF support
        <*>     Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support

  File systems  --->
    <*> The Extended 4 (ext4) filesystem


> by the way, if i'm booting w/o the initrd, i get a kernel panic because
> he is not able to mount/find the raid system -- something with
> "superblock not found".

-- 
Mike Kazantsev // fraggod.net

Attachment: signature.asc
Description: PGP signature

Reply via email to