[linux-lvm] LVM partition and lvm commands in initrd

Aleksandr Koltsoff czr at iki.fi
Sat Sep 23 08:27:45 UTC 2006


Mark Ryden wrote:
> Hello linux-lvm,
>  There is one point which I want to understand and I hope I can get
> help here.

initrds are created automatically for you upon kernel package
installation in most linux distributions (fedora included). this means
that the mkinitrd/mkinitramfs-script will sniff around your system and
decide which modules (dm, ext3, hba-drivers, etc) to include in the
initrd and also sometimes decide which scripts to call (vgscan and
friends) and whether to include lvm-related tools into the initrd.
Similar story for software raid.

This means that if you take the initrd and try to boot a system that
doesn't have LVM you're doing something wrong. initrds are not supposed
to be portable, however this will of course depend very much on the

Hope this answers your question.


More information about the linux-lvm mailing list