xref: /original-bsd/sbin/reboot/boot_hp300.8 (revision 7afc0fa3)
1.\" Copyright (c) 1990, 1991, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Systems Programming Group of the University of Utah Computer
6.\" Science Department.
7.\"
8.\" %sccs.include.redist.roff%
9.\"
10.\"	@(#)boot_hp300.8	8.2 (Berkeley) 04/19/94
11.\"
12.Dd
13.Dt BOOT_HP300 8 hp300
14.Os
15.Sh NAME
16.Nm boot
17.Nd
18system bootstrapping procedures
19.Sh DESCRIPTION
20.Sy Power fail and crash recovery.
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.
24.Pp
25.Sy Cold starts.
26On an HP300, the boot procedure uses the boot ROM to load a boot program
27from an
28.Tn LIF
29format directory at the beginning of an attached disk.
30The
31.Pa /usr/mdec
32directory contains a disk boot programs which should be placed in a
33new pack automatically by
34.Xr newfs 8
35when the ``a'' partition file system on the pack is created.
36.Pp
37This
38.Em boot
39program
40finds the corresponding file on the given device
41.Pf ( Ar vmunix
42by default),
43loads that file into memory,
44and starts the program at the entry address specified in the program header.
45.Pp
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.
50.Pp
51The file specifications used for an interactive boot are of the form:
52.Pp
53.Dl device(unit, minor)
54.Pp
55where
56.Ar device
57is the type of the device to be searched,
58.Ar unit
59is 8 * the hpib number plus the unit number of the disk or tape,
60and
61.Ar minor
62is the disk partition or tape file number.
63Normal line editing characters can be used when typing the file specification.
64Currently, ``rd'' and ``sd'' are the only valid
65.Ar device
66specifiers.
67.Pp
68For example,
69to boot from the `a' file system of unit 0 on HP-IB 2,
70type
71.Ql rd(16, 0)vmunix
72to the boot prompt.
73For tapes, the minor device number gives a file offset.
74.Pp
75In an emergency, the bootstrap methods described in the paper
76.%T Installing 4.3bsd on the HP300
77can be used to boot from a distribution tape.
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
89.Xr halt 8 ,
90.Xr reboot 8 ,
91.Xr shutdown 8
92