NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Installation on a LVM partition

Quoting John Nemeth 25/07/2013 04:48,
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.

And even on linuces there is usually a standard ext2 /boot partition for the kernel and initramfs.

Home | Main Index | Thread Index | Old Index