Amiga Unix — 68040 · 68060

Manual pages › System administration commands (1M)

newboot(1M)

load boot programs onto the hard disk boot partition

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

NAME

newboot - load boot programs onto the hard disk boot partition

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 directory 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 program is the 512-byte micro-boot file loaded by the boot device 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 operating 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