1 .\" $NetBSD: boot.8,v 1.11 2003/08/07 10:31:22 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
65 or not), the system will attempt a reboot.
66 .Ss Booting NetBSD using the bootloader
69 partition is created by means of HDTOOLBOX or another RDB editing program
70 and a bootblock has been copied there by
72 and the boot priority of the
74 partition is either the highest or the
76 partition is selected by means of the boot menu,
77 the Amiga ROM will automatically start the
80 By default it will, after a short timeout, load the kernel image
82 and attempt to boot it into multi-user mode.
83 This behaviour can be changed by
84 typing in an alternate command sequence.
85 The command line looks like:
86 .Bd -ragged -offset indent
91 .Op Fl n Ar memsegments
99 This gives you the opportunity to boot another kernel, say:
104 Autoboot into multi-user mode (default).
106 Prompt for the root file system device, the system crash dump
107 device, and the path to
112 Use 32000+(Qlogic chip revision) for the DraCo.
114 Reserve the first 4M of fastmem.
116 Force fastmem size to be
122 of memory to use, encoded as follows: 0 (default): 1 segment, 1:
123 2 segments, 2: 3 or more segments.
125 Select kernel load segment by priority instead of size.
129 Boot into single-user mode.
131 Boot in verbose mode.
133 Enter the kernel debugger (best used with -S)
135 inhibit sync negotiation as follows: The
137 is a bitmap expressed in C notation (e.g., 0xff)
138 with 4*8bits, each bit, if set to 1, disabling sync negotiation for
139 the corresponding target.
140 Note that this only applies to (some of the)
141 real SCSI busses, but not, e.g., to internal IDE.
142 The bytes are used up
143 from right to left by SCSI bus drivers using this convention.
145 Load the kernel symbols
147 .Ss Booting NetBSD using the loadbsd program
148 When you want (or have to) start
150 from AmigaOS, you have to use the
152 program that is supplied in the utils directory of the distribution.
153 The loadbsd command line specification is:
154 .Bd -ragged -offset indent
159 .Op Fl n Ar memsegments
166 Description of options:
169 Autoboot into multi-user mode.
171 Prompt for the root file system device, the system crash dump
172 device, and the path to
177 Reserve the first 4M of fastmem.
179 Force fastmem size to be
185 of memory to use, encoded as follows: 0 (default): 1 segment, 1:
186 2 segments, 2: 3 or more segments.
188 Select kernel load segment by priority instead of size.
190 Boot into single-user mode.
192 Test loading of the kernel but don't start
197 Enter the kernel debugger after booting.
201 inhibit sync negotiation as follows: The
203 is a bitmap expressed in hexadecimal (e.g., ff)
204 with 4*8bits, each bit, if set to 1, disabling sync negotiation for
205 the corresponding target.
206 Note that this only applies to (some of the)
207 real SCSI busses, but not, e.g., to internal IDE.
208 The bytes are used up
209 from right to left by SCSI bus drivers using this convention.
211 include kernel debug symbols (for use by -D).
213 Force load via chip memory.
214 Won't work if kernel is larger than the chip memory size or on the
218 Note: Because the loadbsd program can only read kernels from a AmigaOS
221 is often not the same as the actual kernel booted.
222 This can cause some programs to fail.
223 However, note that you can use third-party Berkeley
224 filesystems such as bffs to access the
226 root partition from AmigaOS.
228 .Bl -tag -width /usr/mdec/bootxx_ffs -compact
231 .It Pa /usr/mdec/bootxx_ffs
232 RDB device primary boot block
233 .It Pa /usr/mdec/bootxx_fd
234 floppy disk primary boot block
235 .It Pa /usr/mdec/boot.amiga
238 secondary bootstrap (installed)
248 Due to code size restrictions, you can't currently use an old-style file
257 to boot from AmigaOS, or upgrade the file system with