summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-06-06 21:45:34 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-06-06 21:45:34 +0000
commitca740922f63b8d6806ffacd67092fc0f20e90976 (patch)
tree47f39873e7297459fb8d104e821124d4987444cb /sys/arch/i386/stand
parent1495bdf5566887051e059ad3e47e9f889440b83c (diff)
- section reorder
- new sentence, new line - some macro fixes
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r--sys/arch/i386/stand/biosboot/biosboot.832
-rw-r--r--sys/arch/i386/stand/boot/boot.824
-rw-r--r--sys/arch/i386/stand/installboot/installboot.819
3 files changed, 40 insertions, 35 deletions
diff --git a/sys/arch/i386/stand/biosboot/biosboot.8 b/sys/arch/i386/stand/biosboot/biosboot.8
index a52bef0f268..595af1723da 100644
--- a/sys/arch/i386/stand/biosboot/biosboot.8
+++ b/sys/arch/i386/stand/biosboot/biosboot.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: biosboot.8,v 1.16 2003/06/03 20:22:11 mickey Exp $
+.\" $OpenBSD: biosboot.8,v 1.17 2003/06/06 21:45:33 jmc Exp $
.\"
.\" Copyright (c) 1997 Michael Shalayeff
.\" All rights reserved.
@@ -47,7 +47,8 @@ location.
.Nm
must be installed by, and have its block table filled in by, the
.Xr installboot 8
-program. As this data is BIOS dependent, you must re-run
+program.
+As this data is BIOS dependent, you must re-run
.Xr installboot 8
each time you reinstall
.Xr boot 8
@@ -66,12 +67,12 @@ protected mode and transferring control to the just loaded /boot program.
Diagnostics consist of two error messages:
.Bl -tag -width read_error_
.It Er Read error
-Some kind of error returned by the BIOS read call. This might be
-any media error, including bad sectors (common on floppy disks),
+Some kind of error returned by the BIOS read call.
+This might be any media error, including bad sectors (common on floppy disks),
and invalid sectors (can occur with messed up geometry translations).
.It Er Bad magic
-The just loaded /boot image contains a bad magic in its header. This
-might indicate some kind of hardware problem, the
+The just loaded /boot image contains a bad magic in its header.
+This might indicate some kind of hardware problem, the
.Ar boot
argument to the
.Xr installboot 8
@@ -84,14 +85,17 @@ has been used in
.Xr installboot 8
for the device you are booting from.
.Sh NOTES
-The practice of making OpenBSD use the whole disk (ie: having
+The practice of making
+.Ox
+use the whole disk (ie: having
.Nm
as the MBR) has been deprecated, and will not work on certain BIOS versions.
There is a lot of strange behaviour with different BIOSes; one well
known lobotomy case is that the BIOS does not pass the right boot drive
number to the
.Nm
-program. This is one of the main reasons that having
+program.
+This is one of the main reasons that having
.Nm
as the MBR has been deprecated.
.Sh FILES
@@ -110,6 +114,12 @@ system code
.Xr boot_i386 8 ,
.Xr fdisk 8 ,
.Xr installboot 8
+.Sh HISTORY
+This program was written by Michael Shalayeff for
+.Ox 2.1 .
+However it's based on bootstrap code from older versions of this
+operating system, other operating systems, other programs, and
+other people's work.
.Sh BUGS
It should do a checksum over the loaded /boot image, and check that against
a value that
@@ -121,9 +131,3 @@ reported.
.Pp
You can pick your motherboard, and you can pick your BIOS,
but you can't pick your motherboard's BIOS.
-.Sh HISTORY
-This program was written by Michael Shalayeff for
-.Ox 2.1 .
-However it's based on bootstrap code from older versions of this
-operating system, other operating systems, other programs, and
-other people's work.
diff --git a/sys/arch/i386/stand/boot/boot.8 b/sys/arch/i386/stand/boot/boot.8
index 13e19d72417..6402645465c 100644
--- a/sys/arch/i386/stand/boot/boot.8
+++ b/sys/arch/i386/stand/boot/boot.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: boot.8,v 1.32 2003/06/03 20:22:11 mickey Exp $
+.\" $OpenBSD: boot.8,v 1.33 2003/06/06 21:45:33 jmc Exp $
.\"
.\" Copyright (c) 1997-2001 Michael Shalayeff
.\" All rights reserved.
@@ -276,6 +276,17 @@ The default baudrate is 9600bps.
.It time
Displays system time and date.
.El
+.Sh FILES
+.Bl -tag -width /usr/mdec/biosbootxx -compact
+.It Pa /usr/mdec/biosboot
+first stage bootstrap
+.It Pa /boot
+system bootstrap
+.It Pa /etc/boot.conf
+system bootstrap's startup file
+.It Pa /bsd
+kernel image
+.El
.Sh EXAMPLES
.Li boot> boot
.Pp
@@ -312,17 +323,6 @@ Once booted, such changes can be made permanent by using
.Xr config 8 Ns 's
.Fl e
option.
-.Sh FILES
-.Bl -tag -width /usr/mdec/biosbootxx -compact
-.It Pa /usr/mdec/biosboot
-first stage bootstrap
-.It Pa /boot
-system bootstrap
-.It Pa /etc/boot.conf
-system bootstrap's startup file
-.It Pa /bsd
-kernel image
-.El
.Sh SEE ALSO
.Xr gzip 1 ,
.Xr autoconf 4 ,
diff --git a/sys/arch/i386/stand/installboot/installboot.8 b/sys/arch/i386/stand/installboot/installboot.8
index 44dd3d554e1..f107578d472 100644
--- a/sys/arch/i386/stand/installboot/installboot.8
+++ b/sys/arch/i386/stand/installboot/installboot.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: installboot.8,v 1.25 2003/06/03 20:22:11 mickey Exp $
+.\" $OpenBSD: installboot.8,v 1.26 2003/06/06 21:45:33 jmc Exp $
.\"
.\" Copyright (c) 1997 Michael Shalayeff
.\" All rights reserved.
@@ -82,8 +82,8 @@ The arguments are:
.Bl -tag -width biosboot
.It Ar boot
The name of the second-stage boot program in the mounted file system
-where the first-stage boot program is to be installed. This should be
-a full pathname.
+where the first-stage boot program is to be installed.
+This should be a full pathname.
.It Ar biosboot
The name of the prototype file for the first stage boot program,
usually
@@ -122,7 +122,8 @@ The typical use is
.Pp
And if the information supplied looks right, run the above without the
.Fl n
-flag. If you are upgrading an old system, you may need to preface
+flag.
+If you are upgrading an old system, you may need to preface
the above steps with some more steps... and do the following:
.Pp
.Dl boot the floppy.fs filesystem floppy
@@ -138,6 +139,11 @@ and
you can use the boot block command:
.Pp
.Dl boot> machine diskinfo
+.Sh SEE ALSO
+.Xr biosboot 8 ,
+.Xr disklabel 8 ,
+.Xr fdisk 8 ,
+.Xr init 8
.Sh BUGS
The disklabel
.Va d_type
@@ -149,8 +155,3 @@ You cannot run
for a drive/partition other than the one you want the
.Pa /boot
to be loaded from.
-.Sh SEE ALSO
-.Xr biosboot 8 ,
-.Xr disklabel 8 ,
-.Xr fdisk 8 ,
-.Xr init 8