summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-30 22:23:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-30 22:23:58 +0000
commitc2071394e3eb07dda4a10e9d95d3394ecef64c29 (patch)
tree9d2c6bbbf532370a6b9a7aa11b81fb99b621e79d /sys/arch
parentbbc21ea3427fc0e9cd249002065c1328876fa699 (diff)
EXAMPLES
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/stand/installboot/installboot.823
1 files changed, 22 insertions, 1 deletions
diff --git a/sys/arch/i386/stand/installboot/installboot.8 b/sys/arch/i386/stand/installboot/installboot.8
index 281b7e6ac58..93188136f34 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.9 1997/09/24 10:37:22 downsj Exp $
+.\" $OpenBSD: installboot.8,v 1.10 1997/09/30 22:23:57 deraadt Exp $
.\"
.\" Copyright (c) 1997 Michael Shalayeff
.\" All rights reserved.
@@ -119,6 +119,27 @@ partition is always used to represent the
.Dq entire
disk on i386.
.El
+.Sh EXAMPLE
+The typical use is
+.Pp
+.Dl # cp /usr/mdec/boot /boot
+.Dl # /usr/mdec/installboot -v -n /boot /usr/mdec/biosboot sd0
+.Pp
+And if the information supplied looks right, run the above without the
+.Fl n
+flag.
+.Pp
+If you are replacing much older versions of the bootblocks on your
+drive, you will need to use the
+.Fl s
+and
+.Fl h
+arguments to installboot to properly install the bootblocks. You can
+either get these figures in your BIOS, or by booting a new floppy
+and typing
+.Pp
+.Dl boot> machine diskinfo
+.Pp
.Sh BUGS
The disklabel
.Va d_type