xref: /netbsd-src/share/man/man8/man8.sun3/boot.8 (revision d710132b4b8ce7f7cccaaf660cb16aa16b4077a0)
1.\"	$NetBSD: boot.8,v 1.13 2003/05/03 23:15:31 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 April 8, 2003
37.Dt BOOT 8 sun3
38.Os
39.Sh NAME
40.Nm boot
41.Nd system bootstrapping procedures
42.\" .Sh SYNOPSIS
43.\" .Nm reboot
44.\" .Op Fl n
45.\" .Op Fl q
46.\" .Oo
47.\" .Ar -- <boot string>
48.\" .Oc
49.Sh DESCRIPTION
50.Ss Power fail and crash recovery
51Normally, the system will reboot itself at power-up or after crashes.
52An automatic consistency check of the file systems will be performed
53as described in
54.Xr fsck 8 ,
55and unless this fails, the system will resume multi-user operations.
56.Ss Cold starts
57A disk-boot program
58.Pa ( /usr/mdec/ufsboot )
59will attempt to load
60.Pa netbsd
61from partition A of the boot device,
62which must currently be an
63.Dq sd
64disk.
65Alternatively, network boot program
66.Pa ( /usr/mdec/netboot )
67will load
68.Pa netbsd
69from the NFS root as determined by the procedure described in
70.Xr diskless 8 .
71.Ss Boot program options
72.Bl -tag -width xxx
73.It Fl a
74Prompt for the root file system device, the system crash dump
75device, and the path to
76.Xr init 8 .
77.It Fl d
78Bring the system up in debug mode.
79Here it waits for a kernel debugger connect; see
80.Xr ddb 4 .
81.It Fl q
82Boot the system in quiet mode.
83.It Fl s
84Bring the system up in single-user mode.
85.It Fl v
86Boot the system in verbose mode.
87.El
88.Pp
89Any extra flags or arguments, or the
90.Aq Ar boot string
91after the -- separator are passed to the boot PROM.
92Other flags are currently ignored.
93.Pp
94At any time you can break back to the ROM by pressing the
95.Sq L1
96and
97.Sq a
98keys at the same time (if the console is a serial port the same is
99achieved by sending a
100.Sq break ) .
101If you do this accidentally you can continue whatever was in progress
102by typing
103.Sq c
104followed by the return key.
105.Sh FILES
106.Bl -tag -width /usr/mdec/installboot -compact
107.It Pa /netbsd
108system code
109.It Pa /usr/mdec/bootxx
110first-level boot block for disks
111.It Pa /usr/mdec/netboot
112boot program for NFS (diskless) boot
113.It Pa /usr/mdec/ufsboot
114second-level boot program for UFS disks
115.It Pa /usr/mdec/installboot
116program to install bootxx on a disk
117.El
118.Sh SEE ALSO
119.Xr disklabel 8 ,
120.Xr fsck 8 ,
121.Xr halt 8 ,
122.Xr init 8 ,
123.Xr rc 8 ,
124.Xr shutdown 8 ,
125.Xr syslogd 8
126