All current sys-kernel/genkernel versions (up to 3.4.24) doesn't include "linear.ko" kernel module into initramfs when run like this: genkernel --mdadm all So if you want to use linear MD array as root device, you have to either use --all-ramdisk-modules option or compile linear RAID level into kernel. It seems unlogical to me, that all other RAID types are supported by default and linear gets left out. Reproducible: Always Steps to Reproduce: 1. genkernel --mdadm all 2. try booting with root filesystem on the linear MD device Actual Results: boot fails because specified root device doesn't exist Expected Results: boot should succeed
Actually --all-ramdisk-modules isn't even enough, you have to add doload=linear kernel parameter.
InGit