xref: /netbsd-src/share/man/man8/man8.sun3/boot.8 (revision 481fca6e59249d8ffcf24fef7cfbe7b131bfb080)
1.\"	$NetBSD: boot.8,v 1.5 1997/07/10 07:37:26 mikel 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 19, 1994
37.Dt BOOT 8 sun3
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
59A disk-boot program (/usr/mdec/ufsboot) will attempt to load
60.Pa netbsd
61from partition A of the boot device,
62which must currently be an ``sd'' disk.
63Alternatively, network boot program (/usr/mdec/netboot) will load
64.Pa netbsd
65from the NFS root as determined by the procedure described in
66.Xr diskless 8 .
67.Pp
68The
69.Op Fl s
70flag to the boot loader will bring the system up in single-user mode.
71The
72.Op Fl a
73flag instructs the system to prompt for the location of the root filesystem
74and the primary swap partition.
75The
76.Op Fl d
77flag to the boot loader will bring the system up in debug mode.
78Here it waits for a kernel debugger connect; see
79.Xr ddb 4 .
80Any extra flags or arguments, the after the -- separator,
81.Ar <boot string>
82are passed to the boot prom.
83Other flags are currently ignored.
84.Pp
85At any time you can break back to the rom by pressing the `L1' and `a'
86keys at the same time (if the console is a serial port the same is
87achieved by sending a `break').
88If you do this accidentally you can continue whatever was in progress
89by typing `c' followed by the return key.
90.Pp
91.Sh FILES
92.Bl -tag -width /usr/mdec/installboot -compact
93.It Pa /netbsd
94system code
95.It Pa /usr/mdec/bootxx
96first-level boot block for disks
97.It Pa /usr/mdec/netboot
98boot program for NFS (diskless) boot
99.It Pa /usr/mdec/ufsboot
100second-level boot program for UFS disks
101.It Pa /usr/mdec/installboot
102program to install bootxx on a disk
103.El
104.Sh SEE ALSO
105.Xr crash 8 ,
106.Xr disklabel 8 ,
107.Xr fsck 8 ,
108.Xr halt 8 ,
109.Xr init 8 ,
110.Xr rc 8 ,
111.Xr shutdown 8 ,
112.Xr syslogd 8
113