xref: /netbsd-src/share/man/man8/man8.mvme68k/boot.8 (revision d710132b4b8ce7f7cccaaf660cb16aa16b4077a0)
1.\"	$NetBSD: boot.8,v 1.7 2003/04/08 03:49:45 lukem 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 April 8, 2003
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.Ss Boot program options
83.Bl -tag -width xxx
84.It Fl a
85Prompt for the root file system device, the system crash dump
86device, and the path to
87.Xr init 8 .
88.It Fl d
89Bring the system up in debug mode.
90Here it waits for a kernel debugger connect; see
91.Xr ddb 4 .
92.It Fl q
93Boot the system in quiet mode.
94.It Fl s
95Bring the system up in single-user mode.
96.It Fl v
97Boot the system in verbose mode.
98.El
99.Pp
100Any extra flags or arguments, or the
101.Ar \*[Lt]boot string\*[Gt]
102after the -- separator are passed to the boot PROM.
103Other flags are currently ignored.
104.Pp
105At any time you can break to the kernel debugger
106.Xr ddb 4
107(assuming
108.Sy options DDB
109was specified in the kernel configuration file)
110by sending a serial line BREAK character.
111If you do this accidentally you can continue whatever was in progress
112by typing
113.Sq c
114followed by the return key.
115.Sh FILES
116.Bl -tag -width /usr/mdec/installboot -compact
117.It Pa /netbsd
118system code
119.It Pa /usr/mdec/bootxx
120first-level boot block for disks
121.It Pa /usr/mdec/stboot
122first-level boot block for tapes
123.It Pa /usr/mdec/bootsd
124second-level boot block for UFS disks
125.It Pa /usr/mdec/bootst
126second-level boot block for tapes
127.It Pa /usr/mdec/netboot
128boot program for NFS (diskless) boot
129.It Pa /usr/mdec/sboot
130network bootstrap program for MVME147
131.It Pa /usr/mdec/installboot
132program to install bootxx on a disk
133.El
134.Sh SEE ALSO
135.Xr disklabel 8 ,
136.Xr fsck 8 ,
137.Xr halt 8 ,
138.Xr init 8 ,
139.Xr rc 8 ,
140.Xr shutdown 8 ,
141.Xr syslogd 8
142