Subject: Re: port-i386/29646
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 09/23/2005 20:35:33
Synopsis: Cannot boot when the first DOS partition is not the boot partition

State-Changed-From-To: open->closed
State-Changed-When: Fri, 23 Sep 2005 20:35:31 +0000
The code is working the only way it can.
The standard i386 boot procedure doesn't pass the pbr boot code (loaded by
the mbr code) anything to identify the partition (or sector) it was read from.
So the pbr code has to scan the label to locate the netbsd partition.
This is true for any OS, although some might just look for the 'active' flag!
If you use thenetbsd bootselect code (instead of grub) it will use a private
scheme that passes the sector number through, and the pbr code will search
for that partition first, falling back on the first partition.
That allows you to have multiple bootable NetBSD (type 169) partitions.