Commit | Line | Data |
---|---|---|
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 | 18 | system bootstrapping procedures |
70567b1c | 19 | .Sh DESCRIPTION |
70567b1c | 20 | .Sy Power fail and crash recovery. |
86e54a38 KB |
21 | Normally, the system will reboot itself at power-up or after crashes. |
22 | An automatic consistency check of the file systems will be performed, | |
23 | and unless this fails, the system will resume multi-user operations. | |
70567b1c CL |
24 | .Pp |
25 | .Sy Cold starts. | |
50d77188 | 26 | On an HP300, the boot procedure uses the boot ROM to load a boot program |
70567b1c CL |
27 | from an |
28 | .Tn LIF | |
29 | format directory at the beginning of an attached disk. | |
30 | The | |
31 | .Pa /usr/mdec | |
50d77188 KB |
32 | directory contains a disk boot programs which should be placed in a |
33 | new pack automatically by | |
70567b1c | 34 | .Xr newfs 8 |
86e54a38 | 35 | when the ``a'' partition file system on the pack is created. |
70567b1c | 36 | .Pp |
86e54a38 | 37 | This |
70567b1c | 38 | .Em boot |
86e54a38 KB |
39 | program |
40 | finds the corresponding file on the given device | |
70567b1c | 41 | .Pf ( Ar vmunix |
86e54a38 KB |
42 | by default), |
43 | loads that file into memory, | |
44 | and starts the program at the entry address specified in the program header. | |
70567b1c | 45 | .Pp |
86e54a38 KB |
46 | The boot program can be interrupted by typing `^C' (ctrl-C). |
47 | This will force the boot program to interactively prompt for a system to boot. | |
48 | If not interrupted, it will boot from the device from which the boot | |
49 | program itself was loaded. | |
70567b1c | 50 | .Pp |
86e54a38 | 51 | The file specifications used for an interactive boot are of the form: |
70567b1c | 52 | .Pp |
50d77188 | 53 | .Dl device(unit, minor) |
70567b1c | 54 | .Pp |
86e54a38 | 55 | where |
70567b1c | 56 | .Ar device |
86e54a38 | 57 | is the type of the device to be searched, |
70567b1c | 58 | .Ar unit |
86e54a38 KB |
59 | is 8 * the hpib number plus the unit number of the disk or tape, |
60 | and | |
70567b1c | 61 | .Ar minor |
86e54a38 KB |
62 | is the disk partition or tape file number. |
63 | Normal line editing characters can be used when typing the file specification. | |
50d77188 | 64 | Currently, ``rd'' and ``sd'' are the only valid |
70567b1c | 65 | .Ar device |
50d77188 | 66 | specifiers. |
70567b1c | 67 | .Pp |
86e54a38 KB |
68 | For example, |
69 | to boot from the `a' file system of unit 0 on HP-IB 2, | |
70567b1c | 70 | type |
50d77188 | 71 | .Ql rd(16, 0)vmunix |
86e54a38 KB |
72 | to the boot prompt. |
73 | For tapes, the minor device number gives a file offset. | |
70567b1c | 74 | .Pp |
86e54a38 | 75 | In an emergency, the bootstrap methods described in the paper |
70567b1c | 76 | .%T Installing 4.3bsd on the HP300 |
86e54a38 | 77 | can 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 | |
81 | system code | |
82 | .It Pa /usr/mdec/bootrd | |
83 | .Tn LIF | |
84 | format boot block | |
85 | .It Pa /usr/mdec/installboot | |
86 | program 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 |