xref: /netbsd-src/share/man/man8/man8.mvme68k/boot.8 (revision 5e4c038a45edbc7d63b7c2daa76e29f88b64a4e3)
1.\"	$NetBSD: boot.8,v 1.5 2002/02/13 08:18:29 ross Exp $
2.\"
3.\" Copyright (c) 1992, 1993
4.\"	The Regents of the University of California.  All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
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 by the University of
17.\"	California, Berkeley and its contributors.
18.\" 4. 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.
21.\"
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
32.\" SUCH DAMAGE.
33.\"
34.\"     @(#)boot_sparc.8	8.2 (Berkeley) 4/19/94
35.\"
36.Dd November 28, 1999
37.Dt BOOT 8 mvme68k
38.Os
39.Sh NAME
40.Nm boot
41.Nd
42system bootstrapping procedures
43.\" .Sh SYNOPSIS
44.\" .Nm reboot
45.\" .Op Fl n
46.\" .Op Fl q
47.\" .Oo
48.\" .Ar -- <boot string>
49.\" .Oc
50.Sh DESCRIPTION
51.Ss Power fail and crash recovery
52Normally, the system will reboot itself at power-up or after crashes.
53An automatic consistency check of the file systems will be performed
54as described in
55.Xr fsck 8 .
56and unless this fails, the system will resume multi-user operations.
57.Ss Cold starts from disk
58The disk-boot program
59.Pa ( /usr/mdec/bootsd )
60will attempt to load
61.Pa netbsd
62from partition A of the boot device,
63which must currently be an
64.Dq sd
65disk.
66.Ss Cold starts from tape
67The tape-boot program
68.Pa ( /usr/mdec/bootst )
69will attempt to load
70.Pa netbsd
71from a SCSI tape drive.
72.Ss Cold starts over a network
73The network boot program
74.Pa ( /usr/mdec/netboot )
75will load
76.Pa netbsd
77from the NFS root as determined by the procedure described in
78.Xr diskless 8 .
79Note that the MVME147 is unable to boot directly from the
80network without the help of a small bootloader program
81.Pa ( /usr/mdec/sboot ) .
82.Pp
83The
84.Fl s
85flag to the boot loader will bring the system up in single-user mode.
86The
87.Fl a
88flag instructs the system to prompt for the location of the root filesystem
89and the primary swap partition.
90The
91.Fl d
92flag to the boot loader will bring the system up in debug mode.
93Here it waits for a kernel debugger connect; see
94.Xr ddb 4 .
95The
96.Fl q
97flag to the boot loader would boot the system in
98quiet mode,
99.Fl v
100in verbose mode.
101Any extra flags or arguments, the after the -- separator,
102.Ar \*[Lt]boot string\*[Gt]
103are passed to the boot prom.
104Other flags are currently ignored.
105.Pp
106At any time you can break to the kernel debugger
107.Xr ddb 4
108(assuming
109.Sy options DDB
110was specified in the kernel configuration file)
111by sending a serial line BREAK character.
112If you do this accidentally you can continue whatever was in progress
113by typing
114.Sq c
115followed by the return key.
116.Sh FILES
117.Bl -tag -width /usr/mdec/installboot -compact
118.It Pa /netbsd
119system code
120.It Pa /usr/mdec/bootxx
121first-level boot block for disks
122.It Pa /usr/mdec/stboot
123first-level boot block for tapes
124.It Pa /usr/mdec/bootsd
125second-level boot block for UFS disks
126.It Pa /usr/mdec/bootst
127second-level boot block for tapes
128.It Pa /usr/mdec/netboot
129boot program for NFS (diskless) boot
130.It Pa /usr/mdec/sboot
131network bootstrap program for MVME147
132.It Pa /usr/mdec/installboot
133program to install bootxx on a disk
134.El
135.Sh SEE ALSO
136.Xr disklabel 8 ,
137.Xr fsck 8 ,
138.Xr halt 8 ,
139.Xr init 8 ,
140.Xr rc 8 ,
141.Xr shutdown 8 ,
142.Xr syslogd 8
143