1 .\" $NetBSD: boot.8,v 1.8 2003/08/07 10:31:23 agc Exp $
3 .\" Copyright (c) 1990, 1991, 1993
4 .\" The Regents of the University of California. All rights reserved.
6 .\" This code is derived from software contributed to Berkeley by
7 .\" the Systems Programming Group of the University of Utah Computer
8 .\" Science Department.
10 .\" Redistribution and use in source and binary forms, with or without
11 .\" modification, are permitted provided that the following conditions
13 .\" 1. Redistributions of source code must retain the above copyright
14 .\" notice, this list of conditions and the following disclaimer.
15 .\" 2. Redistributions in binary form must reproduce the above copyright
16 .\" notice, this list of conditions and the following disclaimer in the
17 .\" documentation and/or other materials provided with the distribution.
18 .\" 3. Neither the name of the University nor the names of its contributors
19 .\" may be used to endorse or promote products derived from this software
20 .\" without specific prior written permission.
22 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 .\" @(#)boot_hp300.8 8.2 (Berkeley) 4/19/94
42 system bootstrapping procedures
44 .Ss Power fail and crash recovery
45 Normally, the system will reboot itself at power-up or after crashes.
46 An automatic consistency check of the file systems will be performed,
47 and unless this fails, the system will resume multi-user operations.
50 On an HP300, the boot procedure uses the boot ROM to load a boot program
53 format directory at the beginning of an attached disk.
56 directory contains a disk boot programs which should be placed in a
57 new pack automatically by
61 partition file system on the pack is created.
66 finds the corresponding file on the given device
69 loads that file into memory,
70 and starts the program at the entry address specified in the program header.
72 The boot program can be interrupted by typing
75 This will force the boot program to interactively prompt for a system to boot.
76 If not interrupted, it will boot from the device from which the boot
77 program itself was loaded.
79 The file specifications used for an interactive boot are of the form:
81 .Dl device(unit, minor)
85 is the type of the device to be searched,
87 is 8 * the HP-IB number plus the unit number of the disk or tape,
90 is the disk partition or tape file number.
91 Normal line editing characters can be used when typing the file specification.
103 file system of unit 0 on HP-IB 2,
107 For tapes, the minor device number gives a file offset.
109 In an emergency, the bootstrap methods described in the paper
110 .%T Installing 4.3bsd on the HP300
111 can be used to boot from a distribution tape.
113 .Bl -tag -width /usr/mdec/installboot -compact
116 .It Pa /usr/mdec/bootrd
119 .It Pa /usr/mdec/installboot
120 program to install boot blocks