xref: /netbsd-src/share/man/man8/man8.mvme68k/boot.8 (revision 220b5c059a84c51ea44107ea8951a57ffaecdc8c)
1.\"	$NetBSD: boot.8,v 1.3 2001/09/08 01:34:39 wiz 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.Sy 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.Pp
58.Sy Cold starts from disk
59The disk-boot program (/usr/mdec/bootsd) will attempt to load
60.Pa netbsd
61from partition A of the boot device,
62which must currently be an ``sd'' disk.
63.Pp
64.Sy Cold starts from tape
65The tape-boot program (/usr/mdec/bootst) will attempt to load
66.Pa netbsd
67from a SCSI tape drive.
68.Pp
69.Sy Cold starts over a network
70The network boot program (/usr/mdec/netboot) will load
71.Pa netbsd
72from the NFS root as determined by the procedure described in
73.Xr diskless 8 .
74Note that the MVME147 is unable to boot directly from the
75network without the help of a small bootloader program
76(/usr/mdec/sboot).
77.Pp
78The
79.Op Fl s
80flag to the boot loader will bring the system up in single-user mode.
81The
82.Op Fl a
83flag instructs the system to prompt for the location of the root filesystem
84and the primary swap partition.
85The
86.Op Fl d
87flag to the boot loader will bring the system up in debug mode.
88Here it waits for a kernel debugger connect; see
89.Xr ddb 4 .
90The
91.Op Fl q
92flag to the boot loader would boot the system in
93quiet mode,
94.Op Fl v
95in verbose mode.
96Any extra flags or arguments, the after the -- separator,
97.Ar <boot string>
98are passed to the boot prom.
99Other flags are currently ignored.
100.Pp
101At any time you can break to the kernel debugger
102.Xr ddb 4
103(assuming
104.Sy options DDB
105was specified in the kernel configuration file)
106by sending a serial line BREAK character.
107If you do this accidentally you can continue whatever was in progress
108by typing `c' followed by the return key.
109.Pp
110.Sh FILES
111.Bl -tag -width /usr/mdec/installboot -compact
112.It Pa /netbsd
113system code
114.It Pa /usr/mdec/bootxx
115first-level boot block for disks
116.It Pa /usr/mdec/stboot
117first-level boot block for tapes
118.It Pa /usr/mdec/bootsd
119second-level boot block for UFS disks
120.It Pa /usr/mdec/bootst
121second-level boot block for tapes
122.It Pa /usr/mdec/netboot
123boot program for NFS (diskless) boot
124.It Pa /usr/mdec/sboot
125network bootstrap program for MVME147
126.It Pa /usr/mdec/installboot
127program to install bootxx on a disk
128.El
129.Sh SEE ALSO
130.Xr disklabel 8 ,
131.Xr fsck 8 ,
132.Xr halt 8 ,
133.Xr init 8 ,
134.Xr rc 8 ,
135.Xr shutdown 8 ,
136.Xr syslogd 8
137