newboot(1M) MISC. REFERENCE MANUAL PAGES newboot(1M)
NAME
newboot - load boot programs onto the hard disk boot parti-
tion
SYNOPSIS
/usr/sbin/newboot [-y] /usr/lib/boot /usr/lib/mboot
boot_special
DESCRIPTION
newboot copies the named boot programs to the specified
boot_special hard disk partition; unless the current direc-
tory is /usr/lib, you must specify full pathnames for the
boot programs. The boot_special section of a hard disk is
typically the first 100, 512-byte blocks on the device, and
has a file name of the form /dev/rdsk/c?d?s7; it can be
identified using prtvtoc and looking for the partition with
the tag of 1 (BOOT) and size of 100 blocks. You must
specify the raw (character) device name. If the -y option
is not specified, you are prompted for confirmation before
the boot_special partition is overwritten. The mboot pro-
gram is the 512-byte micro-boot file loaded by the boot dev-
ice firmware; its main function is to load and execute the
larger boot program. The boot program is the boot program
for hard disks that loads and executes the bootable operat-
ing system (unix).
NOTES
Installing bad boot programs may make the affected disk
unbootable. Be sure you have a good backup copy of the disk
before newboot is run.
DIAGNOSTICS
newboot returns an error if the specified boot programs are
not found. Either change directory to /usr/lib or use the
full pathnames of the programs (i.e., /usr/lib/mboot,
/usr/lib/boot).
SEE ALSO
cunix(1M), mkfs(1M), mkboot(1M), prtvtoc(1M).
System Administrator's Guide
Last change: Essential Utilities 1