NetBSD-Users archive

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

Re: Installation on a LVM partition

Thank you for answer,

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 ?

I've a question about list, a few of persons is using "}" for quotation,
why ? the ">" isn't mail default ?

On Wed, 2013-07-17 at 13:40 -0700, John Nemeth wrote:
> On Jul 9, 12:36pm, Victor Santos wrote:
> }
> } I'd installed, to be more precise:
> } 1. Extracted all sets that I want in root.
> } 2. Configured, /etc/fstab and /etc/rc.conf (missing something ?)
> } 2. Pointed GRUB2 of Arch Linux to load NetBSD kernel.
> } 
> } after this kernel is loaded correctly, but theres a problem in mount
> } root device, tried --root=/dev/Vol0/netbsd and --root=Vol0/netbsd and no
> } success.
> } I think that the problem is because the LVM module (dm ?) isn't loaded
> } earlier root mount.
> } On linux it can be done adding module to initrd/initramfs on FreeBSD can
> } be done recompiling kernel.
> } So I think for boot correctly a I've to recompile NetBSD kernel with LVM
> } module, if I'm correct, is possible compile NetBSD kernel from linux or
> } from FreeBSD ?
>      You can build a NetBSD kernel on any POSIX system (including
> Windows).  See here for instructions:
> .  You will
> need to add the line "pseudo-device       dm" to kernel config file
> (src/sys/arch/{i386,amd64}/conf/GENERIC).
> } obviously if have other way of LVM module be loaded earlier root mount
> } instead of recompile kernel will be great!
>      Adding the device to the kernel won't solve the problem of
> needing to do a "vgchange -a y".  You can try building a custom
> kernel, but I won't guarantee that it will be able to find the root
> filesystem.
> }-- End of excerpt from Victor Santos

Victor Aurélio Santos

Home | Main Index | Thread Index | Old Index