[linux-lvm] Root on LV

Andreas Dilger adilger at turbolabs.com
Thu Sep 6 15:37:29 UTC 2001


On Sep 06, 2001  16:42 +0200, svetljo wrote:
> it probably will hold the kernel also
> and as far i know there is no bootloader which can access logical volume
> am i wrong

Yes, you are wrong.  LILO+patch can get a kernel from a logical volume.
Now that Linus has accepted my patch to fix LV_USER_BMAP from causing
an oops I will submit the patch to the LILO maintainer.  It can also be
found in the archives for this mailing list (have posted several times).

> dobos_s at IBCnet.hu wrote:
> >My kernel has no modules.
> >Why should I create an ext2 partition for holding an initrd which is not
> >doing any essential things except vgscan and vgchange -ay ?

You don't need vgscan at boot time unless the disks have moved around.
You DO need "vgchange -a y" in order to load the LVM data into the kernel.
If you are running EVMS you don't need that.  I think this is also on the
TODO list for the next LVM version.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert





More information about the linux-lvm mailing list