NAME
installboot - install bootblocks in a disk partition
SPARC SYNOPSIS
/usr/sbin/installboot bootblk raw-disk-device
x86 SYNOPSIS
/usr/sbin/installboot pboot bootblk raw-disk-device
AVAILABILITY
SUNWcsu
DESCRIPTION
The boot(1M) program is loaded from disk by bootblock code
which resides in the appropriate boot area of a disk parti-
tion. bootblk is the name of the bootblock code. raw-disk-
device is the name of the disk device onto which the boot-
block code is to be installed; it must be a character device
which is readable and writable. Naming conventions for a
SCSI drive are c?t?d?s? and c?d?s? for an IDE drive.
SPARC 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
x86 EXAMPLES
The ufs bootblock is in /usr/lib/fs/ufs/pboot. To install
the bootblock on slice 2 of target 0 on controller 1, use:
example# /usr/sbin/installboot /usr/lib/fs/ufs/pboot \
/usr/lib/fs/ufs/bootblk /dev/rdsk/c1t0d0s2
SEE ALSO
od(1), boot(1M), init(1M), kadb(1M), kernel(1M), reboot(1M),
rpc.bootparamd(1M), init.d(4)
SPARC: Installing Solaris Software
x86: Installing Solaris Software
SPARC only
monitor(1M)
WARNINGS
installboot will fail if the bootblk or pboot files don't
exist or if the raw disk device isn't a character device.