add architecture to Dt field
[unix-history] / usr / src / sbin / reboot / boot_hp300.8
CommitLineData
44654500
KB
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
86e54a38
KB
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Systems Programming Group of the University of Utah Computer
70567b1c 6.\" Science Department.
86e54a38 7.\"
1e227acf
CL
8.\" %sccs.include.redist.roff%
9.\"
75ee8246 10.\" @(#)boot_hp300.8 8.2 (Berkeley) %G%
86e54a38 11.\"
70567b1c 12.Dd
75ee8246 13.Dt BOOT_HP300 8 hp300
1e227acf 14.Os
70567b1c 15.Sh NAME
50d77188 16.Nm boot
70567b1c 17.Nd
50d77188 18system bootstrapping procedures
70567b1c 19.Sh DESCRIPTION
70567b1c 20.Sy Power fail and crash recovery.
86e54a38
KB
21Normally, the system will reboot itself at power-up or after crashes.
22An automatic consistency check of the file systems will be performed,
23and unless this fails, the system will resume multi-user operations.
70567b1c
CL
24.Pp
25.Sy Cold starts.
50d77188 26On an HP300, the boot procedure uses the boot ROM to load a boot program
70567b1c
CL
27from an
28.Tn LIF
29format directory at the beginning of an attached disk.
30The
31.Pa /usr/mdec
50d77188
KB
32directory contains a disk boot programs which should be placed in a
33new pack automatically by
70567b1c 34.Xr newfs 8
86e54a38 35when the ``a'' partition file system on the pack is created.
70567b1c 36.Pp
86e54a38 37This
70567b1c 38.Em boot
86e54a38
KB
39program
40finds the corresponding file on the given device
70567b1c 41.Pf ( Ar vmunix
86e54a38
KB
42by default),
43loads that file into memory,
44and starts the program at the entry address specified in the program header.
70567b1c 45.Pp
86e54a38
KB
46The boot program can be interrupted by typing `^C' (ctrl-C).
47This will force the boot program to interactively prompt for a system to boot.
48If not interrupted, it will boot from the device from which the boot
49program itself was loaded.
70567b1c 50.Pp
86e54a38 51The file specifications used for an interactive boot are of the form:
70567b1c 52.Pp
50d77188 53.Dl device(unit, minor)
70567b1c 54.Pp
86e54a38 55where
70567b1c 56.Ar device
86e54a38 57is the type of the device to be searched,
70567b1c 58.Ar unit
86e54a38
KB
59is 8 * the hpib number plus the unit number of the disk or tape,
60and
70567b1c 61.Ar minor
86e54a38
KB
62is the disk partition or tape file number.
63Normal line editing characters can be used when typing the file specification.
50d77188 64Currently, ``rd'' and ``sd'' are the only valid
70567b1c 65.Ar device
50d77188 66specifiers.
70567b1c 67.Pp
86e54a38
KB
68For example,
69to boot from the `a' file system of unit 0 on HP-IB 2,
70567b1c 70type
50d77188 71.Ql rd(16, 0)vmunix
86e54a38
KB
72to the boot prompt.
73For tapes, the minor device number gives a file offset.
70567b1c 74.Pp
86e54a38 75In an emergency, the bootstrap methods described in the paper
70567b1c 76.%T Installing 4.3bsd on the HP300
86e54a38 77can be used to boot from a distribution tape.
70567b1c
CL
78.Sh FILES
79.Bl -tag -width /usr/mdec/installboot -compact
80.It Pa /vmunix
81system code
82.It Pa /usr/mdec/bootrd
83.Tn LIF
84format boot block
85.It Pa /usr/mdec/installboot
86program to install boot blocks
87.El
88.Sh SEE ALSO
70567b1c 89.Xr halt 8 ,
50d77188
KB
90.Xr reboot 8 ,
91.Xr shutdown 8