tech-kern archive

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

Re: Booting with dk0 root



On 07/25/2013 11:44 PM, John Klos wrote:

How does one use a gpt wedge as a root filesystem?

The following commands in boot(8) work iirc.  I've used them to boot
NetBSD/amd64 with root on a GPT partition and the kernel (GENERIC) on
another hard drive.

dev hdNx:

where hdNx is the device of the GPT partition to be used as root
filesystem.  Use dev without argument to see possible candidates.
Then:

boot hdMy:path/to/the/kernel

where hdMy is the device containing the kernel to boot.

Grégoire


Home | Main Index | Thread Index | Old Index