Describe mbr_com0 and mbr_com0_9600

Include the filenames in the descriptive table entry.
This commit is contained in:
dsl 2008-01-20 15:05:15 +00:00
parent 683572a3a3
commit 76952d779a
1 changed files with 21 additions and 7 deletions

View File

@ -1,5 +1,5 @@
.\" $NetBSD: mbr.8,v 1.2 2003/07/16 12:06:07 wiz Exp $
.Dd April 30, 2003
.\" $NetBSD: mbr.8,v 1.3 2008/01/20 15:05:15 dsl Exp $
.Dd January 20, 2008
.Dt MBR 8 i386
.Os
.Sh NAME
@ -21,26 +21,35 @@ that partition, and executing the code in it, as is done for the
MBR itself.
.Pp
.Nx
supplies three versions of the MBR bootcode:
.Bl -tag -width Er
.It Sy Normal boot code
supplies serveral versions of the MBR bootcode:
.Bl -tag -width 20
.It Sy Normal boot code Pa /usr/mdec/mbr
This version has the same functionality as that supplied by DOS/Windows and
other operating systems: it picks the active partition and boots from it.
Its advantage over other, older MBRs, is that it can detect and use
extensions to the BIOS interface that will allow it to boot partitions
that cross or start beyond the 8 Gigabyte boundary.
.It Sy Bootselector
.It Sy Bootselector Pa /usr/mdec/mbr_bootsel
The bootselecting MBR contains configurable code that will present
the user with a simple menu, allowing a choice between partitions to
boot from, and hard disks to boot from.
The choices and default settings can be configured through
.Xr fdisk 8 .
.It Sy Extended Bootselector
.It Sy Extended Bootselector Pa /usr/mdec/mbr_ext
The Extended Bootselecting MBR additionally allows
.Nx
to be loaded from an Extended partition.
It only supports systems whose BIOS supports the extensions to
boot partitions beyond the 8 Gigabyte boundary.
.It Sy Serial Bootselector Pa /usr/mdec/mbr_com0
This has the same features as
.Pa mbr_ext
but will read and write from the first serial port.
It assumes that the BIOS has initialised the baud rate.
.It Sy Serial Bootselector Pa /usr/mdec/mbr_com0_9600
This has the same features as
.Pa mbr_com0 .
Additionally it initialises the serial port to 9600 baud.
.El
.Pp
The rest of this manual page will discuss the bootselecting versions of
@ -71,6 +80,11 @@ Function keys
.Sy F1
through
.Sy F8
(keys
.Sy a
through
.Sy h
for the serial versions)
will boot from harddisks 0 through 7 (BIOS numbers 0x80 through 0x87).
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