xref: /csrg-svn/sbin/reboot/boot_hp300.8 (revision 67001)
162939Sbostic.\" Copyright (c) 1990, 1991, 1993
262939Sbostic.\"	The Regents of the University of California.  All rights reserved.
344702Sbostic.\"
444702Sbostic.\" This code is derived from software contributed to Berkeley by
544702Sbostic.\" the Systems Programming Group of the University of Utah Computer
644702Sbostic.\" Science Department.
744702Sbostic.\"
850485Scael.\" %sccs.include.redist.roff%
944702Sbostic.\"
10*67001Smckusick.\"	@(#)boot_hp300.8	8.2 (Berkeley) 04/19/94
1150485Scael.\"
1247463Scael.Dd
13*67001Smckusick.Dt BOOT_HP300 8 hp300
1450485Scael.Os
1547463Scael.Sh NAME
1651434Sbostic.Nm boot
1747463Scael.Nd
1851434Sbosticsystem bootstrapping procedures
1947463Scael.Sh DESCRIPTION
2047463Scael.Sy Power fail and crash recovery.
2144702SbosticNormally, the system will reboot itself at power-up or after crashes.
2244702SbosticAn automatic consistency check of the file systems will be performed,
2344702Sbosticand unless this fails, the system will resume multi-user operations.
2447463Scael.Pp
2547463Scael.Sy Cold starts.
2651434SbosticOn an HP300, the boot procedure uses the boot ROM to load a boot program
2747463Scaelfrom an
2847463Scael.Tn LIF
2947463Scaelformat directory at the beginning of an attached disk.
3047463ScaelThe
3147463Scael.Pa /usr/mdec
3251434Sbosticdirectory contains a disk boot programs which should be placed in a
3351434Sbosticnew pack automatically by
3447463Scael.Xr newfs 8
3544702Sbosticwhen the ``a'' partition file system on the pack is created.
3647463Scael.Pp
3744702SbosticThis
3847463Scael.Em boot
3944702Sbosticprogram
4044702Sbosticfinds the corresponding file on the given device
4147463Scael.Pf ( Ar vmunix
4244702Sbosticby default),
4344702Sbosticloads that file into memory,
4444702Sbosticand starts the program at the entry address specified in the program header.
4547463Scael.Pp
4644702SbosticThe boot program can be interrupted by typing `^C' (ctrl-C).
4744702SbosticThis will force the boot program to interactively prompt for a system to boot.
4844702SbosticIf not interrupted, it will boot from the device from which the boot
4944702Sbosticprogram itself was loaded.
5047463Scael.Pp
5144702SbosticThe file specifications used for an interactive boot are of the form:
5247463Scael.Pp
5351434Sbostic.Dl device(unit, minor)
5447463Scael.Pp
5544702Sbosticwhere
5647463Scael.Ar device
5744702Sbosticis the type of the device to be searched,
5847463Scael.Ar unit
5944702Sbosticis 8 * the hpib number plus the unit number of the disk or tape,
6044702Sbosticand
6147463Scael.Ar minor
6244702Sbosticis the disk partition or tape file number.
6344702SbosticNormal line editing characters can be used when typing the file specification.
6451434SbosticCurrently, ``rd'' and ``sd'' are the only valid
6547463Scael.Ar device
6651434Sbosticspecifiers.
6747463Scael.Pp
6844702SbosticFor example,
6944702Sbosticto boot from the `a' file system of unit 0 on HP-IB 2,
7047463Scaeltype
7151434Sbostic.Ql rd(16, 0)vmunix
7244702Sbosticto the boot prompt.
7344702SbosticFor tapes, the minor device number gives a file offset.
7447463Scael.Pp
7544702SbosticIn an emergency, the bootstrap methods described in the paper
7647463Scael.%T Installing 4.3bsd on the HP300
7744702Sbosticcan be used to boot from a distribution tape.
7847463Scael.Sh FILES
7947463Scael.Bl -tag -width /usr/mdec/installboot -compact
8047463Scael.It Pa /vmunix
8147463Scaelsystem code
8247463Scael.It Pa /usr/mdec/bootrd
8347463Scael.Tn LIF
8447463Scaelformat boot block
8547463Scael.It Pa /usr/mdec/installboot
8647463Scaelprogram to install boot blocks
8747463Scael.El
8847463Scael.Sh SEE ALSO
8947463Scael.Xr halt 8 ,
9051434Sbostic.Xr reboot 8 ,
9151434Sbostic.Xr shutdown 8
92