do_mount_root, There is a recent kernel option (google think it was introduced in 2.6.37, although I thought it was newer then that) named PARTUUID for mounting filesystems (which mounts the root based on the uuid of the partition [note that this UUID is different from the uuid of the filesystem]). Handy as the kernel can mount based on the Partition UUID even without a initramfs/initrd (although I imagine we should handle this case.
You can use the blkid utility to find the partition's uuid. The following line should allow it to work in mkinitramfs. PARTUUID=* ) device=$root ;; Also, I was doing some research on the discard flag in association with lvm, which can be enabled by setting issue_discard to 1 in /etc/lvm/lvm.conf. I am not sure when this is passed onto lvm or not (Our only interaction is using vgchange -a y in initramfs, and mount). It may be worth copying lvm.conf to the initramfs. -- Nathan Coulson (conathan) ------ Location: British Columbia, Canada Timezone: PST (-8) Webpage: http://www.nathancoulson.com -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
