From 76952d779adfa6cac8f1e6138314cee6e6c56661 Mon Sep 17 00:00:00 2001 From: dsl Date: Sun, 20 Jan 2008 15:05:15 +0000 Subject: [PATCH] Describe mbr_com0 and mbr_com0_9600 Include the filenames in the descriptive table entry. --- share/man/man8/man8.i386/mbr.8 | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/share/man/man8/man8.i386/mbr.8 b/share/man/man8/man8.i386/mbr.8 index 55ef100c3fcd..1d3b797d99b6 100644 --- a/share/man/man8/man8.i386/mbr.8 +++ b/share/man/man8/man8.i386/mbr.8 @@ -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