NetBSD-Users archive

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

Re: Install NetBSD with root on other than partition a?

On Thu 30 Dec 2010 at 05:54:28 +0000, Thomas Mueller wrote:
> Is it possible to install NetBSD where the root would be on a
> (sub)partition other than a, and subsequently boot such an
> installation?

I think the simplest way would be if you built your own kernel.
In its config file you can specify something like

config         netbsd-current  root on sd0f type ffs

(look for the similar lines as examples in the GENERIC config file).

You'd place the kernel in the same partition as your current one, just
with a different name, netbsd-current in this example. With boot.cfg (or
just manually at the boot loader prompt) you can specify which kernel to

___ Olaf 'Rhialto' Seibert  -- There's no point being grown-up if you 
\X/ rhialto/at/    -- can't be childish sometimes. -The 4th Doctor

Home | Main Index | Thread Index | Old Index