Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mkvtoc(8)

prtvtoc(8)

vtoc(4)

INSTALLBOOT(8)  —  UNIX Programmer’s Manual

NAME

installboot − installs a boot program on a disk

SYNOPSIS

/etc/installboot disk

DESCRIPTION

installboot determines the type of bootstrap that should be installed on disk and then installs the proper bootstrap in the bootstrap area of the disk. 

The disk argument does not need to be a special file in /dev, but can simply be the controller type concatenated with the disk number (e.g., sd0).  installboot uses the disk argument to determine the disk type. 

For disks booting from the SCED, installboot reads the VTOC from the disk and searches for a boot partition.  (This is a partition of type V_BOOT, as defined in /usr/include/sys/vtoc.h.) installboot then opens the first boot partition and writes the proper bootstrap to it.  The bootstrap is taken from /stand/bootXX_v, where XX corresponds to the disk controller name.  If no VTOC is present on the disk, installboot will use the ‘c’ partition and takes the bootstrap from /stand/bootXX, where XX corresponds to the disk controller name. 

If the disk on which the bootstrap is installed does not have a VTOC present, one can be added by using mkvtoc(1M).  There should be only one partition of type V_BOOT and it should cover the bootstrap area for this particular disk. 

EXAMPLES

The following line will install a SCED bootstrap on zd0. 

installboot  zd0

FILES

/stand/boot??SCED compatibility boot programs
/stand/boot??_vSCED VTOC boot programs

SEE ALSO

mkvtoc(8), prtvtoc(8), vtoc(4)

4BSD

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026