'\"macro stdmacro
.if n .pH g1a.newboot @(#)newboot	40.11 of 10/10/89
.\" Copyright 1989 AT&T
.nr X
.if \nX=0 .ds x} newboot 1M "Essential Utilities" "\&"
.if \nX=1 .ds x} newboot 1M "Essential Utilities"
.if \nX=2 .ds x} newboot 1M "" "\&"
.if \nX=3 .ds x} newboot "" "" "\&"
.TH \*(x}
.SH NAME
\f4newboot\f1 \- load boot programs onto the hard disk boot partition
.SH SYNOPSIS
\f4/usr/sbin/newboot\f1
\f1[\f4\-y\f1]
\f4/usr/lib/boot
/usr/lib/mboot\f1
\f2boot_special\f1
.SH DESCRIPTION
\f4newboot\f1 copies the named boot programs to the specified
\f2boot_special\f1 hard disk partition;  unless the current directory is
\f4/usr/lib\f1, you must specify full pathnames for the boot programs.
.P
The \f2boot_special\f1 section of a hard disk is typically the first
100, 512-byte blocks on the device, and has a file name of the form
\f4/dev/rdsk/c\f2?\fPd\f2?\fPs7\f1;  it can be identified using \f4prtvtoc\f1 and
looking for the partition with the \f4tag\f1 of \f41\f1 (BOOT) and size of
100 blocks.
You must specify the raw (character) device name.
.P
If the \f4\-y\f1 option is not specified, you are prompted for
confirmation before the \f2boot_special\f1 partition is overwritten.
.P
The \f4mboot\f1 program is the 512-byte micro-boot file loaded by
the boot device firmware;  its main function is to load and execute the
larger \f4boot\f1 program.
.P
The \f4boot\f1 program is the boot program for hard disks that loads
and executes the bootable operating system (\f4unix\fP).
.SH NOTES
Installing bad boot programs
may make the affected disk unbootable.
Be sure you have a good backup copy of the disk before
\f4newboot\f1 is run.
.SH DIAGNOSTICS
\f4newboot\f1 returns an error if the specified boot programs are not found.
Either change directory to \f4/usr/lib\f1 or use the full pathnames of the
programs (i.e., \f4/usr/lib/mboot\f1, \f4/usr/lib/boot\f1).
.SH SEE ALSO
\f4cunix\fP(1M),
\f4mkfs\fP(1M),
\f4mkboot\fP(1M),
\f4prtvtoc\fP(1M).
.br
\f2System Administrator's Guide\f1
.\"	@(#)newboot.1m	6.3 of 4/3/84
.Ee
