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