summaryrefslogtreecommitdiffstats
path: root/sbin/reboot/boot_i386.8
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/reboot/boot_i386.8')
-rw-r--r--sbin/reboot/boot_i386.855
1 files changed, 33 insertions, 22 deletions
diff --git a/sbin/reboot/boot_i386.8 b/sbin/reboot/boot_i386.8
index 7f449bd..836401d 100644
--- a/sbin/reboot/boot_i386.8
+++ b/sbin/reboot/boot_i386.8
@@ -48,12 +48,12 @@
.Nd
system bootstrapping procedures
.Sh DESCRIPTION
-.Sy Power fail and crash recovery.
+.Sy Power fail and crash recovery .
Normally, the system will reboot itself at power-up or after crashes.
An automatic consistency check of the file systems will be performed,
and unless this fails, the system will resume multi-user operations.
.Pp
-.Sy Cold starts.
+.Sy Cold starts .
Most i386 PCs attempt to boot first from floppy disk drive 0 (sometimes
known as drive A:) and, failing that, from hard disk drive 0 (sometimes
known as drive C:, or as drive 0x80 to the BIOS). Some BIOSes allow
@@ -73,18 +73,18 @@ either by specifying a kernel name in the boot block parameter
file,
.Pa /boot.config ,
or by hitting a key during a brief pause (while one of the characters
-.Dv - ,
-.Dv \e ,
-.Dv \&| ,
+.Sy - ,
+.Sy \e ,
+.Sy \&| ,
or
-.Dv /
+.Sy /
is displayed) before
.Xr loader 8
is invoked. Booting will also be attempted at stage two, if the
third stage cannot be loaded.
.Pp
The remainder of this subsection deals only with the boot blocks. The
-.Pa loader
+.Xr loader 8
program is documented separately.
.Pp
After the boot blocks have been loaded,
@@ -104,26 +104,32 @@ This boot may be aborted by typing any character on the keyboard
at the
.Ql boot:
prompt. At this time, the following input will be accepted:
-.Bl -tag -width 10x
-.It \&?
+.Bl -tag -width indent
+.It Ic \&?
Give a short listing of the files in the root directory of the default
boot device, as a hint about available boot files. (A
-.Dv \&?
+.Ic ?\&
may also be specified as the last segment of a path, in which case
the listing will be of the relevant subdirectory.)
.Pp
-.It bios_drive:interface(unit,part) filename Op Fl aCcDdghPrsv
+.It Xo
+.Ar bios_drive : Ns Ar interface Ns Po
+.Ar unit , Ns Ar part Pc
+.Ar filename
+.Op Fl aCcDdghPrsv
+.Xc
Specify boot file and flags.
-.Bl -tag -width 10x -compact
-.It bios_drive
+.Bl -tag -width indent
+.It Ar bios_drive
The drive number as recognized by the BIOS.
0 for the first drive, 1 for the second drive, etc.
-.It interface
+.It Ar interface
The type of controller to boot from. Note that the controller is required
to have BIOS support since the BIOS services are used to load the
boot file image.
.Pp
The supported interfaces are:
+.Pp
.Bl -tag -width "adXX" -compact
.It ad
ST506, IDE, ESDI, RLL disks on a WD100[2367] or lookalike
@@ -135,10 +141,10 @@ SCSI disk on any supported SCSI controller
.\".It cd
.\"boot from CDROM
.El
-.It unit
+.It Ar unit
The unit number of the drive on the interface being used.
0 for the first drive, 1 for the second drive, etc.
-.It part
+.It Ar part
The partition letter inside the BSD portion of the disk. See
.Xr disklabel 8 .
By convention, only partition
@@ -149,13 +155,14 @@ any slice can be booted from, with the default being the active slice
or, otherwise, the first
.Fx
slice.
-.It filename
+.It Ar filename
The pathname of the file to boot (relative to the root directory
on the specified partition). Defaults to
.Pa /kernel .
Symbolic links are not supported (hard links are).
.It Fl acCdDghPrsv
Boot flags:
+.Pp
.Bl -tag -width "-CXX" -compact
.It Fl a
during kernel initialization,
@@ -164,8 +171,9 @@ ask for the device to mount as as the root file system.
boot from CDROM.
.It Fl c
run UserConfig to modify hardware parameters for the loaded
-kernel. If the kernel was built with one of USERCONFIG,
-INTRO_USERCONFIG, VISUAL_USERCONFIG options,
+kernel. If the kernel was built with one of
+.Dv USERCONFIG , INTRO_USERCONFIG , VISUAL_USERCONFIG
+options,
remain in UserConfig regardless of any
.Ic quit
commands present in the script.
@@ -237,7 +245,7 @@ to set defaults. Enter them in one line just as you type at the
.Ql boot:
prompt.
.Sh FILES
-.Bl -tag -width /kernel.old.config -compact
+.Bl -tag -width /boot/loader -compact
.It Pa /boot.config
parameters for the boot blocks (optional)
.It Pa /boot/boot1
@@ -291,7 +299,8 @@ Seek failed
Timeout
.El
.Pp
-IMPORTANT NOTE: Because of limitations imposed by the conventional
+.Sy "IMPORTANT NOTE" :
+Because of limitations imposed by the conventional
disk interface provided by the BIOS, all boot-related files and
structures (including the kernel) that need to be accessed during the
boot phase must reside on the disk at or below cylinder 1023 (as the
@@ -300,7 +309,9 @@ BIOS understands the geometry). When a
is reported by the second-stage bootstrap, it generally means that this
requirement has not been adhered to.
.Sh BUGS
-The disklabel format used by this version of
+The
+.Xr disklabel 5
+format used by this version of
.Bx
is quite
different from that of other architectures.
OpenPOWER on IntegriCloud