1 .\" $NetBSD: boot.8,v 1.12 2003/07/26 20:17:38 salo Exp $
3 .\" Copyright (c) 1999 Christopher G. Demetriou
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. All advertising materials mentioning features or use of this software
15 .\" must display the following acknowledgement:
16 .\" This product includes software developed for the
17 .\" NetBSD Project. See http://www.NetBSD.org/ for
18 .\" information about NetBSD.
19 .\" 4. The name of the author may not be used to endorse or promote products
20 .\" derived from this software without specific prior written permission.
22 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
23 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
25 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
26 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
27 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 .\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
36 .\" Copyright (c) 1990, 1991 The Regents of the University of California.
37 .\" All rights reserved.
39 .\" This code is derived from software contributed to Berkeley by
40 .\" the Systems Programming Group of the University of Utah Computer
41 .\" Science Department.
43 .\" Redistribution and use in source and binary forms, with or without
44 .\" modification, are permitted provided that the following conditions
46 .\" 1. Redistributions of source code must retain the above copyright
47 .\" notice, this list of conditions and the following disclaimer.
48 .\" 2. Redistributions in binary form must reproduce the above copyright
49 .\" notice, this list of conditions and the following disclaimer in the
50 .\" documentation and/or other materials provided with the distribution.
51 .\" 3. Neither the name of the University nor the names of its contributors
52 .\" may be used to endorse or promote products derived from this software
53 .\" without specific prior written permission.
55 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
56 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
57 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
58 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
59 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
60 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
61 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
62 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
63 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
64 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
67 .\" @(#)boot_hp300.8 8.2 (Berkeley) 4/19/94
74 .Nd Alpha system bootstrapping procedures
78 systems can have either of two different firmware systems:
80 .Pq a.k.a. Tn AlphaBIOS ,
85 systems have both in their flash
87 and can switch between them on command.
89 is used to bootstrap Microsoft Windows NT for
101 can bootstrap from supported local storage devices, e.g.,
109 drives, and floppy drives.
111 can also network bootstrap via supported
117 The particular capabilities of
119 will vary from system to system.
123 boots the system, it performs a Power On Self Test
125 probes the system busses to identify devices, and initializes them.
127 includes an x86 instruction emulator in order to run the
129 initialization routines found in the
131 of any video cards found.
132 In this way, most generic
134 video cards can work in
141 then examines the state of one of several variables:
149 will stop, print its prompt:
150 .Qq \*[Gt]\*[Gt]\*[Gt]
151 and wait for commands to be entered on the console.
158 will automatically bootstrap the operating system specified by
159 various non-volatile environment variables.
162 device names are not the same as in
174 disk on a recognized controller,
178 disk on a recognized controller.
181 command will list all the devices that
188 in that it incorporates a simple pipe and I/O redirection,
189 which allows command sequences like:
191 .Bd -literal -offset indent
196 An essential but incomplete list of
200 .\" .Bl -tag -width "boot [-file filename] [-flags value] [-protocols enet_protocol] [device]"
201 .\" .It Ic boot Oo Fl file Ar filename Oc Oo Fl flags Ar value Oc Oo Fl protocols Ar enet_protocol Oc Op Ar device
204 .Op Fl file Ar filename
205 .Op Fl flags Ar value
206 .\" .Op Fl protocols Ar enet_protocol
209 Boot an operating system.
210 The default arguments for this command are taken from the
212 environment variables:
214 .Bl -tag -compact -width "boot_osflags" -offset indent
216 file name to bootstrap.
218 flags to pass to the secondary bootstrap program.
220 default bootstrap device.
222 .\" .It Ic help Op Ar command
224 .Ic help Op Ar command
229 .\" .It Ic set Ar variable Ar value
235 console, and take actions as specified by
239 .Ic set Ar variable Ar value Op Fl default
244 .Bd -literal -offset indent
252 flag is used, the variable will be set to its default value.
253 .\" .It Ic show Ar variable or subsystem
255 .Ic show Ar variable or subsystem
259 variables and values, or show system state or configuration.
260 If a wildcard is used, then all matching
262 variables are shown, e.g.,
264 .Bl -tag -width "show device" -compact -offset indent
270 will display all variables whose names begin with
273 will display the complete system configuration.
275 will display all bootable devices.
277 will display the system's memory configuration.
281 .Bl -tag -width "ew*0_protocols"
285 will do at system startup or reset:
288 automatically bootstrap the operating system.
292 prompt the user on the console for commands to execute.
298 .Pq e.g., Tn AlphaServer 800
301 switch, which if set, will override the action of this variable, and cause
305 and prompt the user for commands to execute.
307 The default bootstrap device, e.g.,
313 command will list the available and recognized bootable devices.
315 The file to bootstrap from; this is a null string by default.
317 The flag passed to the secondary bootstrap program, and the
320 .Bl -tag -width "XXXX"
323 multi-user mode bootstrap.
325 crash dump immediately after
329 kernel is compiled with
334 break into the debugger ASAP, if the
336 kernel is compiled with
343 on a reboot request from the
345 kernel, halt the system instead of rebooting.
349 secondary bootstrap program will stop and prompt for the
351 kernel file name to bootstrap.
355 kernel will ask for the root file system's device, the kernel core
356 dump device, and the path to
361 single-user mode bootstrap.
366 These may be used in combinations that are not mutually exclusive.
367 These options are case-insensitive to be compatible with
371 What type of console device
376 .Bl -tag -width "graphics"
378 use a video card for output, and a
382 use the first serial port for console.
389 systems will use the first serial port as a console if there is no
390 keyboard plugged into the keyboard port, even if
395 The media and speed for
416 .Pq Fast Full Duplex .
417 .It Ev ew*0_protocols
418 The protocol to use when netbooting, i.e.,
420 .Pq Maintenance Operations Protocol ,
423 .Pq Bootstrap Protocol .
428 firmware is picky about
432 on the server needs the
434 .Bd -literal -offset indent
435 always-reply-rfc1048 on;
438 directive in the section for netbooting
442 This determines which system firmware will be used after the next
449 This should be set to any of
459 refers to the Open Software Foundation.
464 kernel is booted normally
465 it initializes itself and proceeds to start the system.
466 An automatic consistency check of the file systems takes place,
467 and unless this fails, the system comes up to multi-user operation.
469 The proper way to shut the system down is with the
473 If the system crashes, it will enter the kernel debugger,
475 if it is configured in the kernel.
476 If the crash occurred during initialization and the debugger is
477 not present or is exited, the kernel will halt the system.
479 If the crash occurred during normal operation and the debugger
480 is not present or is exited, the system will attempt a dump to the
481 configured dump device (which will be automatically recovered with
483 during the next bootstrap cycle), and after the dump is complete (successful
484 or not) the kernel will attempt a reboot.
486 .Bl -tag -width /usr/mdec/bootxx_cd9660 -compact
489 secondary bootstrap program
495 .It Pa /usr/mdec/bootxx_cd9660
496 primary bootstrap for
500 .It Pa /usr/mdec/bootxx_ffs
501 primary bootstrap for
504 .Pq Berkeley Fast File System
505 .It Pa /usr/mdec/boot
507 .It Pa /usr/mdec/netboot
509 .It Pa /usr/mdec/ustarboot
511 disk and tape bootstrap
522 .Xr setnetbootinfo 8 ,
525 .%T "Alpha Architecture Reference Manual Third Edition"
526 .%Q "Alpha Architecture Committee"
531 The device names used by
535 often have no relation to each other.