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