Note: I did NOT install the LVM tools into the LFS system, as I can manage LVM from the main host configuration at this point
You _need_ to install device-mapper and lvm on your lfs , because the lvm programs are the ones that recognize and activate the lvm partitions so they can be mounted. You must compile the kernel with the appropriate feature enabled (I don't remember its name but it's something similar to "device mapper", it should be easy to find). There are huge warnings, though: I have no idea on how (if possible) to boot a lvm root (/) partition, you can maybe find some howto on the net. I strongly suggest to have a normal root (/) partition with at least /bin, /sbin, /etc, /root, /dev, /proc, /sys and /boot (this one could be on a separate _normal_ partition, not a lvm one) on it, so the system can boot and enable the other lvm partitions. Note that you must install the lvm programs on a normal partition in order to be found before the lvm partitions are mounted!, so --prefix=/usr may be the wrong choice. I suggest to put them in /sbin. When your system is booted chances are that you cannot mount your lvm partitions because they are inactive, you have to activate them with </code> lvchange -ay <name_of_your_volume_group> <code> You could put it in some init script before the partitions are mounted. If you have troubles try the various *scan commands (lvscan, vgscan, etc.). -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
