boot(8) boot(8)
NAME
boot - startup procedures
DESCRIPTION
A 68020 UNIX system is typically started by a two-stage
process. The first is a primary bootstrap which reads in
the system itself.
The primary bootstrap, when read into memory and executed,
sets up memory management, if necessary, and prints a prompt
message. Then it reads a device specification from the
console (see below) followed immediately by a pathname.
This program finds the corresponding file on the given
device, loads that file into the proper memory location, and
then transfers control of the program. You can use normal
line editing characters.
Conventionally, the name of the current version of the
system is /unix. Then, the recipe is:
1. Load the boot program.
2. When the : prompt appears, type [for example]
fpy(0,0)unix
or
hd(0,0)unix
depending on whether you are loading from floppy or hard
disk, respectively. The first 0 indicates the physical
unit number; the second indicates the block number of the
beginning of the logical file system (device) to search.
(See below).
3. When asked for the device name, you can obtain a list of
valid device names by typing ? and pressing RETURN. Just
pressing RETURN boots the UNIX system on the default
device.
When the system is running, it types a # prompt. After
doing any file system checks via fsck(1M) and setting the
date (date(1)), you can bring up the system for standard
operation by typing init 2 in response to the # prompt, then
typing an EOT (CONTROL-d) when the system requests it.
Device Specifications
A device specification has the following form:
device(unit,offset)
where device is the type of the device to search, unit is
the unit number of the device, and offset is the block
offset of the file system on the device. Device
specifications vary according to which 68000 UNIX system you
Page 1 (last mod. 1/15/87)
boot(8) boot(8)
are using. Check manufacturer's instructions for the device
specifications.
For example, the specification
hp(1,7000)
would indicate an HP disk, unit 1, and the file system found
starting at block 7000.
ROM Programs
You may install programs to call the primary bootstrap in
read-only memories or type them manually into main memory.
Each program is position-independent, but should be placed
well above location 0 so it will not be overwritten. See
manufacturer's instructions for a manually keyed-in ROM boot
program, should one become necessary.
FILES
/unix system code
Page 2 (last mod. 1/15/87)