1 .\" Copyright (c) 1980, 1991, 1993
2 .\" The Regents of the University of California. All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\" must display the following acknowledgement:
14 .\" This product includes software developed by the University of
15 .\" California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\" may be used to endorse or promote products derived from this software
18 .\" without specific prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .\" @(#)boot_vax.8 8.2 (Berkeley) 4/19/94
40 system bootstrapping procedures
42 .Sy Power fail and crash recovery.
43 Normally, the system will reboot itself at power-up or after crashes.
44 Provided the auto-restart is enabled on the machine front panel,
45 an automatic consistency check of the file systems will be performed,
46 and unless this fails, the system will resume multi-user operations.
49 These are processor-type dependent.
50 On an 11/780, there are two floppy files for each disk controller,
51 both of which cause boots from unit 0 of the root file system
52 of a controller located on mba0 or uba0.
53 One gives a single user shell, while the other invokes the multi-user
60 and multi-user boot from
68 storage module controller and disks
80 controllers and disks such as the RA81,
86 There is also a script for booting from the default device,
87 which is normally a copy of one of the standard multi-user boot scripts,
88 but which may be modified to perform other actions
89 or to boot from a different unit.
90 The situation on the 8600 is similar, with scripts loaded from the console RL02.
96 would boot the system from (e.g.) an RP06 and run the automatic consistency
100 be necessary to type control-P
101 and halt the processor
102 to gain the attention of the
104 before getting the >>> prompt.)
109 invokes a version of the boot program in a way which allows you to
110 specify any system as the system to be booted.
111 It reads from the console a device specification (see below) followed
112 immediately by a pathname.
114 The scripts may be modified for local configuration if necessary.
115 The flags are placed in register 11 (as defined in
116 .Aq Pa sys/reboot.h ) .
117 The boot device is specified in register 10.
118 The encoding of this register is also defined in
119 .Aq Pa sys/reboot.h .
120 The current encoding has a historical basis, and is shown in the following
123 .Bd -unfilled -offset indent -compact
125 0-7 boot device type (the device major number)
128 20-23 controller number
129 24-27 adaptor number (UNIBUS or MASSBUS as appropriate)
132 The adaptor number corresponds to the normal configuration on the 11/750,
133 and to the order in which adaptors are found on the 11/780 and 8600
134 (generally the same as the numbers used by
137 On an 11/750, the reset button will boot from the device
138 selected by the front panel boot device switch. In systems
139 with RK07's, position B normally selects the RK07 for boot.
140 This will boot multi-user. To boot from RK07 with boot flags you
143 .Bd -unfilled -offset indent -compact
144 .Li \&>>>B/ Ns Fl n No DMA0
149 of 1 causes the boot program
150 to ask for the name of the system to be bootstrapped,
153 of 2 causes the boot program to come up single
156 of 3 causes both of these actions to occur.
157 The ``DM'' specifies RK07, the ``A'' represents the adaptor number
161 and the ``0'' is the drive unit number.
162 Other disk types which may be used are DB
168 A non-zero disk partition can be used by adding (partition times 1000 hex)
172 The boot procedure on the Micro
176 A switch on the back panel sets the power-up action
177 to autoboot or to halt.
178 When halted, the processor may be booted using the same syntax
181 The 11/750 boot procedure uses the boot roms to load block 0 off of
182 the specified device. The /usr/mdec directory contains a number
183 of bootstrap programs for the various disks which should be placed
188 II boot procedure loads a boot parameter block
189 from block 0 of the disk.
193 contains the correct parameters for an
198 On any processor, the
201 finds the corresponding file on the given device
203 by default), loads that file
204 into memory location zero, and starts the program at the entry address
205 specified in the program header (after clearing off the high bit
206 of the specified entry address).
208 The file specifications used with
214 .Dl device(adaptor,controller,unit,minor)
218 is the type of the device to be searched,
224 number of the adaptor to which the device is attached,
226 is the unit number of the controller or
228 tape formatter on that adaptor,
230 is the unit number of the disk or transport slave unit of the tape,
233 is the disk partition or tape file number.
234 Leading adaptor or controller numbers default to 0.
235 Normal line editing characters can be used when typing the file specification.
236 The following list of supported devices may vary from installation to
239 .Bd -unfilled -offset indent -compact
240 hp MASSBUS disk drive
241 up UNIBUS storage module drive
242 ht TE16,TU45,TU77 on MASSBUS
243 kra storage module on a KDB50
246 ra storage module on a MSCP-compatible UNIBUS controller
247 rb storage module on a 730 IDC
249 tm TM11 emulation tape drives on UNIBUS
250 tms TMSCP-compatible tape
252 ut UNIBUS TU45 emulator
256 to boot from a file system which starts at cylinder 0
262 .Ql hp(2,0,1,0)vmunix
263 would specify drive 1 on
273 .Ql ra(1,0,0,0)vmunix
276 disk drive on a second
283 For tapes, the minor device number gives a file offset;
285 would specify the fifth file on slave 3 of the formatter
290 On an 11/750 with patchable control store,
291 microcode patches will be installed by
295 exists in the root of the filesystem from which the system is booted.
297 In an emergency, the bootstrap methods described in the paper
298 .%T Installing and Operating 4.3bsd
299 can be used to boot from a distribution tape.
301 .Bl -tag -width /usr/mdec/xxboot -compact
306 .It Pa /usr/mdec/xxboot
307 sector-0 boot block for 750, xx is disk type
308 .It Pa /usr/mdec/bootxx
309 second-stage boot for 750, xx is disk type
311 microcode patch file on 750