install correct aliases file
[unix-history] / usr / src / sbin / reboot / boot_tahoe.8
CommitLineData
61dbfbf1
KB
1.\" Copyright (c) 1980 The Regents of the University of California.
2.\" All rights reserved.
6f5c285b 3.\"
61dbfbf1
KB
4.\" Redistribution and use in source and binary forms are permitted
5.\" provided that the above copyright notice and this paragraph are
6.\" duplicated in all such forms and that any documentation,
7.\" advertising materials, and other materials related to such
8.\" distribution and use acknowledge that the software was developed
9.\" by the University of California, Berkeley. The name of the
10.\" University may not be used to endorse or promote products derived
11.\" from this software without specific prior written permission.
12.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
15.\"
16.\" @(#)boot_tahoe.8 6.2 (Berkeley) %G%
6f5c285b
MK
17.\"
18.TH REBOOT 8 ""
19.UC 4
20.SH NAME
21reboot \- UNIX bootstrapping procedures
22.SH SYNOPSIS
23.B /etc/reboot
24[
25.B \-n
26] [
27.B \-q
28]
29.SH DESCRIPTION
30.PP
31UNIX is started by placing it in memory
32at location zero and transferring to the entry point.
33Since the system is not reenterable,
34it is necessary to read it in from disk or tape
35each time it is to be bootstrapped.
36.PP
37.B Rebooting a running system.
38When a UNIX is running and a reboot is desired,
39.IR shutdown (8)
40is normally used.
41If there are no users then
42.B /etc/reboot
43can be used.
44Reboot causes the disks to be synced and allows the system
45to perform other shutdown activities such as resynchronizing
46hardware time-of-day clocks.
47A multi-user reboot (as described below) is then initiated.
48This causes a system to be
49booted and an automatic disk check to be performed. If all this succeeds
50without incident, the system is then brought up for many users.
51.PP
52Options to reboot are:
53.TP
54.B \-n
55option avoids the sync. It can be used if a disk or the processor
56is on fire.
57.TP
58.B \-q
59reboots quickly and ungracefully, without shutting down running
60processes first.
61.PP
62.I Reboot
63normally logs the reboot using
64.IR syslog (8)
65and places a shutdown record in the login accounting file
66/usr/adm/wtmp.
67These actions are inhibited if the
68.B \-n
69or
70.B \-q
71options are present.
72.PP
73.B "Power fail and crash recovery."
74Normally, the system will reboot itself at power-up or after crashes.
75An automatic consistency check of the file systems will be performed
76as described in
77.IR fsck (8).
78and unless this fails, the system will resume multi-user operations.
79.PP
80.B Cold starts.
81These are processor-type dependent.
82On the CCI Power 6/32 and related processors,
83the system will do a standard autoboot from drive 0
84upon power-up or reset.
85This automatic boot may be cancelled by typing a \*(lq#\*(rq
86in the first few seconds after reset.
87This enters console mode; the console prompt is \*(lq>\*(rq or \*(lq#>\*(rq.
88The boot flags can be set to any hexadecimal value \fIn\fP with the command
89.IP
90#> p23 \fIn\fP.
91.LP
92The default device may be examined or set; see the Diagnostics and Debugging
93manual for the processor for details on device naming and syntax.
94After setting the boot flags and/or device,
95a bootstrap sequence can be initiated with
96.IP
97#> fb
98.LP
99A specific device or bootstrap file may be used; for example,
100.IP
101#> fb xfd(1,0)
102.LP
103would boot from the `a' partition on XFD drive 1.
104.PP
105The file specifications used for the boostrap
106when loaded with the \*(lqaskme\*(rq flag
107(register 23 set to 1 or 3)
108are of the form:
109.IP
110device(adaptor,controller,unit,minor)
111.PP
112where
113.I device
114is the type of the device to be searched,
115.I adaptor
116is number of the VERSAbus (or VMEbus) to which the device is attached,
117.I controller
118is the unit number of the controller on that buss,
119.I unit
120is the unit number of the disk or tape,
121and
122.I minor
123is the disk partition or tape file number.
124Leading adaptor or controller numbers default to 0.
125Normal line editing characters can be used when typing the file specification.
126The following list of supported devices may vary from installation to
127installation:
128.LP
129.ta 5 10
130.nf
131 dk SMD or ESDI disks on VDDC or SMD-E
132 cy tape on Ciprico Tapemaster controller
133.fi
134.PP
135For example,
136to boot from a file system which starts at cylinder 0
137of unit 0 of an SMD-E disk, type \*(lqdk(0,0)vmunix\*(rq
138to the boot prompt; \*(lqdk(2,1,0)vmunix\*(rq
139would specify drive 1 on SMD-E controller 2.
140.PP
141In an emergency, the bootstrap methods described in the paper
142``Installing and Operating 4.3BSD-tahoe UNIX on the Tahoe'' can be used
143to boot from a distribution tape.
144.SH FILES
145.ta \w'/vmunix 'u
146/vmunix system code
147.br
148/boot system bootstrap
149.SH "SEE ALSO"
150crash(8),
151disklabel(8),
152fsck(8),
153halt(8),
154init(8),
155rc(8),
156shutdown(8),
157syslogd(8)
158.SH BUGS
159The disklabel format used by some versions of the console processor
160is different than the format used by UNIX and the bootstrap.