Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ installboot(1M) — SunOS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

od(1)

boot(1M)

bootparamd(1M)

init(1M)

kadb(1M)

kernel(1M)

monitor(1M)

rc0(1M)

reboot(1M)

installboot(1M)

NAME

installboot − install bootblocks in a disk partition

SYNOPSIS

/usr/sbin/installboot [ bootblk ] [ raw-disk-device ]

DESCRIPTION

The boot(1M) program is loaded from disk by bootblock code which resides in the bootblock area of a disk partition.  In order for the bootblock code to read the boot program, it is necessary for it to know the block numbers occupied by the boot program. 

installboot plugs the block numbers of the boot program into a table in the bootblock code, and writes the modified bootblock code onto the disk.  Note: installboot must be run every time the boot program is reinstalled, since in general, the block list of the boot program will change each time it is written. 

bootblk is the name of the bootblock code into which the block numbers of the boot program are to be inserted.  raw-disk-device is the name of the disk device onto which the bootblock code is to be installed. 

You can see how installboot works by making the destination a regular file instead of a device, and examining the result with od(1). 

EXAMPLES

The ufs bootblock is in /usr/lib/fs/ufs/bootblk, to install the bootblock on slice 0 of target 0 on controller 1, use:

example# /usr/sbin/installboot /usr/lib/fs/ufs/bootblk /dev/rdsk/c1t0d0s0

SEE ALSO

od(1), boot(1M), bootparamd(1M), init(1M), kadb(1M), kernel(1M), monitor(1M), rc0(1M), reboot(1M)

SunOS 5.1  —  Last change: 20 Oct 1992

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