Subject: Re: Installing to seperate partition
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-help
Date: 07/14/2005 19:00:37
On Thu, Jul 14, 2005 at 04:12:06PM +0200, Manuel Bouyer wrote:
> On Thu, Jul 14, 2005 at 08:44:46AM +1000, frank brierley wrote:
> > David and Manuel,
> > 
> > Thank you both for your comments.
> > 
> > The new install is intended for the second MBR partition, I've dreams of 
> > using xen.
> > 
> > The "I" flag was set in the MBR phase - partition b, and the MBR 
> > partition marked as netbsd.
> 
> Does this mean you had 2 MBR partitions marked as NetBSD (type 169) ?

Nothing wrong with that these days.  The kernel will write the same
disklabel to the beginning of all of them.  The disklabel program
will soon (at the moment it has a habit of copying 8k of the disk
from one place to another - typically destroying the pbr boot code)

If you use the netbsd mbr bootselect code, it will boot with the
root filesystem at the beginning of the relevant mbr partition.

> > [...]
> > 
> > What is the effect of the "a" and "d" flags?
> 
> 'a' if for 'active'. The MBR code (if not using the boot menu) uses this
> to know which partition to load. I don't know what 'd' is for.

'd' is the default partition for the boot menu MBR code.

	David

-- 
David Laight: david@l8s.co.uk