|
|
1.1 root 1: .pa 1
2: .he 'BOOT PROCEDURES (VIII)'2/6/73'BOOT PROCEDURES (VIII)'
3: .ti 0
4: NAME bos, maki, vcboot, msys, et__ al__.
5: .sp
6: .ti 0
7: DESCRIPTION
8: .br
9: .in 8
10: On
11: the RF disk, the highest 16K words are
12: reserved for stand-alone programs.
13: These 16K words are allocated as follows:
14: .sp
15: bos (1K)
16: .br
17: Warm UNIX (7K)
18: .br
19: Cold UNIX (8K)
20: .sp
21: The program bos___ (Bootstrap Operating System)
22: examines the console switches and executes
23: one of several internal programs depending on the setting.
24: The following settings are currently recognized:
25: .sp
26: .in +8
27: .ti -8
28: ??? Will read Warm UNIX from
29: the RF into core location 0 and transfer to 600.
30: .sp
31: .ti -8
32: 1 Will read Cold UNIX from the
33: RF into core location 0 and transfer to 600.
34: .sp
35: .ti -8
36: 10 Will dump all of memory
37: from core location 0 onto DECtape drive 7
38: and then halt.
39: .sp
40: .ti -8
41: 20 Will read 256 words from RK0 into
42: core 0 and transfer to zero.
43: This is the procedure to boot
44: DOS from an RK.
45: .sp
46: .ti -8
47: 40 This is the same as 10 above, but
48: instead of halting, UNIX warm is loaded.
49: .sp
50: .ti -8
51: 0 Will load a standard UNIX binary paper tape
52: into core location 0 and transfer to 0.
53: .sp
54: .ti -8
55: 77500 Will load the standard DEC absolute and binary
56: loaders and transfer to 77500.
57: .sp
58: .in 8
59: All manual methods of booting the system involve
60: manipulation of the console switches.
61: In order for this to be possible,
62: the panel must be unlocked
63: and the machine must be halted.
64: Also, remember that at the time UNIX comes up,
65: the console switches must contain 773030
66: for a single-user system; anything else gives
67: a multi-user system.
68:
69: There are four temperatures of boots.
70: They are:
71:
72: .in +4
73: Hot boot: restart the system without refreshing
74: its code, that is simply by transferring to
75: its start.
76: The only use for this procedure is if the
77: system has been patched and one doesn't wish
78: to redo the patches.
79: The procedure is:
80:
81: 600 in switches
82: Load address
83: (773030 in switches for single-user system)
84: start
85:
86: Warm boot: refresh system code from the RF disk, but
87: the "panic" routine must be in core.
88: Best for general use if it works, since
89: outstanding I/O
90: is cleaned up.
91: Procedure:
92:
93: 602 in switches
94: load address
95: (773030 in switches for single-user system)
96: start (flushes any I/O, then executes bos___)
97:
98: Cool boot: RF disk is OK, but nothing in core.
99: Procedure:
100:
101: UTIL DECtape on drive 0
102: 773030 in switches
103: load address
104: (602 in switches for multi-user system)
105: start
106: type "boot" on console tty to load bos___
107:
108: Cold boot: nothing in core, nothing on RF.
109: Best to have an expert around for this
110: one.
111: Procedure:
112:
113: INIT DECtape on drive 0
114: 773030 in switches
115: load address
116: 1 in switches
117: start
118: (machine halts. last chance to preserve RF!)
119: 773030 in switches
120: continue
121: (reads in basic files)
122:
123: UNIX is then up, but for various reasons, one should
124: do a warm boot (single user) right away.
125: At this point also, one might
126: consider whether the INIT tape UNIX is the
127: latest version.
128: If there is reason for doubt,
129: mount the /sys disk pack, change to directory
130: /sys/sys, do "msys u unix", and reboot.
131: Then get the /bin-/etc-/lib tape which contains
132: the rest of of the RF disk,
133: and do an "mt x".
134: Conceivably, "create errors" due to lack of some
135: directories will occur; make the directories,
136: then try again.
137: Set the date correctly; the system starts off
138: at time 0.
139:
140: At this point UNIX is in full operation and
141: can be rebooted for
142: a multi-user system.
143: .sp
144: .in 8
145: Here is what happens during a cold boot:
146: the INIT tape contains a program called
147: .ul
148: vcboot.
149: The ROM program reads vcboot
150: from the tape into
151: core location 0 and transfers to it.
152: vcboot then reads 16K words from
153: the DECtape (blocks 1-32)
154: and copies the data to the highest 16K words of
155: the RF.
156: Thus this initializes the read-only part of the RF.
157: vcboot then reads in bos___ and executes it.
158: bos___ reads in Cold UNIX and executes that.
159: Cold UNIX halts for a last chance before
160: it completely initializes the RF file system.
161: When continue is pressed,
162: Cold UNIX initializes the RF.
163: It then reads the DECtape for initialization files
164: starting from block 33.
165: Normal operation then commences
166: with the execution of "/etc/init".
167: .sp
168: The INIT tape is made by the program maki____
169: running under UNIX.
170: maki____ writes vcboot______ on block 0 of
171: .ul
172: /dev/tap7.
173: It then copies the RF 16K words (using
174: .ul
175: /dev/rf0)
176: onto blocks 1 thru 32.
177: It has internally a list of files to
178: be copied from block 33 on.
179: This list follows:
180: .sp
181: .nf
182: .in +8
183: /etc/init
184: /bin/chmod
185: /bin/date
186: /bin/login
187: /bin/ls
188: /bin/mkdir
189: /etc/mount
190: /bin/sh
191: /bin/tap
192: /bin/mt
193: .in -8
194: .fi
195: .sp
196: Thus this is the set of programs available after a cold boot.
197: init____ and sh__ are mandatory.
198: For multi-user UNIX,
199: getty_____ and login_____ are also necessary.
200: mkdir_____ is necessary due to a bug in tap___.
201: mt__, tap___ and mount_____ are useful to
202: bring in new files.
203: As soon as possible, date____ should be done.
204: That leaves ls__ and chmod_____ as frosting.
205: .sp
206: The last link in this incestuous
207: daisy chain is the program msys____.
208: .sp
209: msys____ char file
210: .sp
211: will copy the file file____ onto the
212: RF read only slot specified by the character char____.
213: Char is taken from the following set:
214: .sp
215: b_ bos
216: u_ Warm UNIX
217: 1_ Cold UNIX
218: .sp
219: .in 16
220: .ti 0
221: FILES /dev/rf0,
222: /dev/tap?
223: .sp
224: .ti 0
225: SEE ALSO init(VII),
226: tap(I),
227: sh(I),
228: mkdir(I)
229: .sp
230: .ti 0
231: DIAGNOSTICS --
232: .sp
233: .ti 0
234: BUGS This
235: section is very configuration dependent.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.