Subject: Re: 2 bootable NetBSD partitions?
To: None <brook@biology.nmsu.edu>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 04/01/2002 15:07:21
On Mon, Apr 01, 2002 at 11:28:13AM +0100, brook@biology.nmsu.edu wrote:
> I would like to have 2 bootable MBR partitions for NetBSD (ID 169) on
> one disk:  one for the -release version and one for -current.  Are
> there any problems with such a setup?
> 
> I presume I can do the following to make it work.  Is this correct?
> 
> - create two MBR partitions
> - designate each as partitions in the NetBSD disklabel
> - install the OS in each
> - the kernels must code their root filesystems to refer specifically
>   to the appropriate partitions, e.g.,
> 
> 	config		netbsd	root on wd0a type ffs	# one kernel
> 	config		netbsd	root on wd0h type ffs	# other kernel
> 
> Have I missed anything?

I think the disklabel will always be written to the first partition. One way
to work around it is to rename the first partition when installing on the
second.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--