1 .\" $NetBSD: boot.8,v 1.12 2003/08/07 10:31:23 agc Exp $
3 .\" Copyright (c) 1990, 1991 The Regents of the University of California.
4 .\" 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
35 .\" @(#)boot_hp300.8 8.2 (Berkeley) 4/19/94
43 system bootstrapping procedures
45 .Ss Power fail and crash recovery
48 kernel is booted normally (using one of the two methods discussed below),
49 it initializes itself and proceeds to boot the system.
50 An automatic consistency check of the file systems takes place,
51 and unless this fails, the system comes up to multi-user operations.
52 The proper way to shut the system down is with the
56 If the system crashes, it will enter the kernel debugger,
58 if it is configured in the kernel.
59 If the debugger is not present,
60 or the debugger is exited, the system will attempt a dump to the
61 configured dump device (which will be automatically recovered with
63 during the next boot cycle).
64 After the dump is complete (successful or not), the system will
66 .Ss Booting NetBSD using the bootloader
69 partition is created by means of
71 and the boot-preference bit in the NVRAM is either invalid or set to
73 , the Atari BIOS will automatically start the
76 By default it will load the kernel image
78 and attempts to boot it into multi-user mode.
79 This behaviour can be changed by either keeping the
83 key pressed during the boot.
86 key is pressed, the bootstrap is aborted, causing the BIOS
87 to continue scanning the disks for a bootable partition (this is compatible
91 key during the boot, causes the boot loader to enter the interactive mode.
92 In interactive mode, the command line looks like:
93 .Bd -ragged -offset indent
100 Each component of the command can be omitted in which case the defaults
101 indicated will be used.
102 .Bl -tag -width boot-options
104 .Bl -tag -compact -width ".netbsd (default)"
105 .It .netbsd (the default)
111 If something other than
113 is specified, control is returned to the BIOS with the boot preference set to
115 Due to limitations of the BIOS however, the search for
116 bootblocks is continued rather than restarted.
118 This gives you the opportunity to boot another kernel, say:
123 These options are a subset of the
126 .Bl -tag -width flag -compact
128 Boot into multi-user mode (the default)
130 Prompt for the root file system device, the system crash dump
131 device, and the path to
134 Enter the kernel debugger
141 .Ss Booting using the loadbsd program
142 When you want (or have to) start
144 from GEM, you have to use the
146 program that is supplied on the kernel-floppy.
147 The loadbsd command line specification is:
148 .Bd -ragged -offset indent
156 Description of options:
159 Boot automatically into multi-user mode.
161 Prompt for the root file system device, the system crash dump
162 device, and the path to
165 Enter the kernel debugger after booting.
167 Print a help screen that tries to explain the same options as mentioned
169 .It Fl o Ar outputfile
170 Write all output to the file
177 only to use ST compatible RAM.
179 Test loading of the kernel but don't start
182 Boot in verbose mode.
184 Wait for a keypress before exiting loadbsd.
185 This is useful when starting this program under GEM.
187 Show debugging output while booting the kernel.
189 Set the amount of available ST compatible RAM in bytes.
191 value is set automatically from the values initialized by the BIOS.
193 Set the amount of available TT compatible RAM in bytes.
195 value is set automatically from the values initialized by the BIOS.
201 This is a GEMDOS path specification of the kernel to boot.
204 Note: Because the loadbsd program can only read kernels from a GEMDOS
207 is usually not the same as the actual kernel booted.
208 This can cause some programs to fail.
210 .Bl -tag -width /netbsd -compact