.\" Copyright (c) 1980 The Regents of the University of California.
.\" Redistribution and use in source and binary forms are permitted
.\" provided that the above copyright notice and this paragraph are
.\" duplicated in all such forms and that any documentation,
.\" advertising materials, and other materials related to such
.\" distribution and use acknowledge that the software was developed
.\" by the University of California, Berkeley. The name of the
.\" University may not be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\" @(#)boot_tahoe.8 6.2 (Berkeley) %G%
reboot \- UNIX bootstrapping procedures
UNIX is started by placing it in memory
at location zero and transferring to the entry point.
Since the system is not reenterable,
it is necessary to read it in from disk or tape
each time it is to be bootstrapped.
.B Rebooting a running system.
When a UNIX is running and a reboot is desired,
If there are no users then
Reboot causes the disks to be synced and allows the system
to perform other shutdown activities such as resynchronizing
hardware time-of-day clocks.
A multi-user reboot (as described below) is then initiated.
This causes a system to be
booted and an automatic disk check to be performed. If all this succeeds
without incident, the system is then brought up for many users.
option avoids the sync. It can be used if a disk or the processor
reboots quickly and ungracefully, without shutting down running
normally logs the reboot using
and places a shutdown record in the login accounting file
These actions are inhibited if the
.B "Power fail and crash recovery."
Normally, the system will reboot itself at power-up or after crashes.
An automatic consistency check of the file systems will be performed
and unless this fails, the system will resume multi-user operations.
These are processor-type dependent.
On the CCI Power 6/32 and related processors,
the system will do a standard autoboot from drive 0
This automatic boot may be cancelled by typing a \*(lq#\*(rq
in the first few seconds after reset.
This enters console mode; the console prompt is \*(lq>\*(rq or \*(lq#>\*(rq.
The boot flags can be set to any hexadecimal value \fIn\fP with the command
The default device may be examined or set; see the Diagnostics and Debugging
manual for the processor for details on device naming and syntax.
After setting the boot flags and/or device,
a bootstrap sequence can be initiated with
A specific device or bootstrap file may be used; for example,
would boot from the `a' partition on XFD drive 1.
The file specifications used for the boostrap
when loaded with the \*(lqaskme\*(rq flag
(register 23 set to 1 or 3)
device(adaptor,controller,unit,minor)
is the type of the device to be searched,
is number of the VERSAbus (or VMEbus) to which the device is attached,
is the unit number of the controller on that buss,
is the unit number of the disk or tape,
is the disk partition or tape file number.
Leading adaptor or controller numbers default to 0.
Normal line editing characters can be used when typing the file specification.
The following list of supported devices may vary from installation to
dk SMD or ESDI disks on VDDC or SMD-E
cy tape on Ciprico Tapemaster controller
to boot from a file system which starts at cylinder 0
of unit 0 of an SMD-E disk, type \*(lqdk(0,0)vmunix\*(rq
to the boot prompt; \*(lqdk(2,1,0)vmunix\*(rq
would specify drive 1 on SMD-E controller 2.
In an emergency, the bootstrap methods described in the paper
``Installing and Operating 4.3BSD-tahoe UNIX on the Tahoe'' can be used
to boot from a distribution tape.
The disklabel format used by some versions of the console processor
is different than the format used by UNIX and the bootstrap.