On Jul 17, 9:41pm, Victor =?ISO-8859-1?Q?Aur=E9lio?= wrote:
}
} Apparently what I've to do is build kernel with LVM support
} (pseudo-device dm) and create a ramdisk that will be responsible to
} active LVM and then kernel is capable of mount LVM partition, right ?
Yes, you need to build a kernel with LVM support. NetBSD
isn't like Linux. It doesn't use normally ramdisks as part of the
boot process. If you were to add a ramdisk to your kernel it would
be your root filesystem with no easy way to change that. With the
recent stuff for whole disk encryption it does look like there is
a way to change the root filesystem, but I don't know the details.
Unfortunately, I don't know how you would go about getting the
kernel to use an LVM for the root filesystem. You could try just
using a kernel with LVM support, but my gut says that isn't enough.
Something like RAID_AUTOCONFIG or the whole disk encryption scheme
would probably be needed.