Subject: Re: Booting a linux disk from netbsd boot prompt.
To: Paul \(NCC/CS\) <pts@bom.gov.au>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 09/17/2001 02:57:29
On Mon, 17 Sep 2001, Paul (NCC/CS) wrote:

> my IDE port 1 master disk is my netbsd disk. ie the first
> disk in the system. The slave I have been setting up as a linux
> disk. Can I get the netbsd boot prompt on the first disk to
> give me the opportunity to boot linux on the second disk?
> Point me to doco to do this if you can.

bootselect(8):

   Bootselector  The bootselecting MBR contains configurable code that will
                 present the user with a simple menu, allowing a choice be-
                 tween partitions to boot from, and hard disks to boot from.
                 The choices and default settings can be configured through
                 fdisk(8).

   ...

   Keys F5 through F10 will boot from harddisks 0 through 5 (BIOS numbers
   0x80 through 0x85). Booting from a drive is simply done by reading the
   MBR of that drive and executing it, so the bootcode present in the MBR of
   the chosen drive determines which partition (if any) will be booted in
   the end.

fdisk -B

   Jeremy C. Reed
   http://www.reedmedia.net/