bootaddhdr(1M) bootaddhdr(1M)
NAME
bootaddhdr - add bootstrap header
SYNOPSIS
bootaddhdr [-d] -p loadpoint -e entrypoint -f inputfile -o outputfile
-m messagestring
DESCRIPTION
bootaddhdr adds a 512 byte header to the front of inputfile and
writes the resulting file to outputfile. This header is examined by
the second stage bootstrap in order to load and execute the third
stage bootstrap. The information in the header consists of a message
string, a load point and an entry point. The options are used to set
the header values. Newboot uses bootaddhdr to install the third
stage bootstrap on the boot partition on the hard disk.
OPTIONS
-p loadpoint
Sets the memory address for the location of the third stage
bootstrap. Loadpoint is in hexadecimal.
-e entrypoint
Sets the value that will be loaded into the program counter to
start the execution of the third stage bootstrap. Entrypoint
is in hexadecimal.
-f inputfile
The file containing data to be appended after the header. This
should contain a raw binary file, one that has been created by
image.
-o outputfile
The file that will be created that contains the header and the
contents of the inputfile.
-m messagestring
Sets the string that will be printed on the video screen at
boot time.
-d Sets a debugging flag.
SEE ALSO
newboot(1m), image(1m).
7/91 Page 1