install a hard disk or floppy disk boot block
/etc/instbb [ -vqny ] [ -d dir ]
[ -f type ] media file
instbb installs a boot block suitable for the
media peripheral in file.
The dir argument to the -d
option specifies where the boot blocks to install are located
(default is /etc).
The remaining options are used only if the
media is a floppy disk.
The bootable media types are shown in the following table
(all media except hd are assumed to be floppy disks):
On hd (hard disk) media,
dir /hdboot0 is installed in the first 1KB and dir /hdboot1 is installed in the
subsequent 20 Kbytes.
file is normally an active virtual hard disk such as
5¼-inch, 96 sectors/track, 15 tracks/inch, double-sided floppy
3½-inch, 135 sectors/track, 18 tracks/inch, double-sided floppy
5¼-inch, 48 sectors/track, 9 tracks/inch, double-sided floppy
5¼-inch, 96 sectors/track, 18 tracks/inch, double-sided floppy
3½-inch, 135 sectors/track, 9 tracks/inch, double-sided floppy
5¼-inch, 96 sectors/track, 9 tracks/inch, double-sided floppy
On the various floppy disk media,
the 1 Kbyte boot block,
is installed in one or two pieces depending on the
type of filesystem floppy disk that file contains.
If no -f type option is specified,
to deduce the type of filesystem contained by file.
On XENIX and unknown filesystems,
instbb places the boot block in the first two sectors.
On S51K, AFS, ES51K, and EAFS
filesystems, instbb places the boot block in the first
and third sectors.
The following options apply to floppy disk media only:
If neither -y nor -n is specified,
and type does not match what
then the user is prompted whether or not to proceed:
Check any type specified with
-f against what fstyp reports.
For safety, this is the default behavior.
Believe any type specified with
-f rather than checking it against what
fstyp reports. This is the inverse of
-v, so at most one of -q
and -v should be specified.
Produce a fatal error if the specified type
and the filesystem type reported by
fstyp differ, or no type
was specified and fstyp cannot deduce the type.
file is not modified. For safety, this is the
Issue a warning
if the specified type and the filesystem type
reported by fstyp differ,
or no type was specified and fstyp cannot
deduce a type. A boot block is installed using any
filesystem type specified using -f.
This is the inverse of -y, so at most one of
-n and -y should be specified.
An answer of ``n'' is equivalent to
-n; no boot block is installed and
file is not modified.
For safety, this is the default answer.
An answer of ``y'' is equivalent to
-y; the boot block is installed using the
filesystem type specified by -f.
The minimum set of commands to make the formatted
3½-inch 1.44MB floppy disk in drive 0 bootable is:
mkfs /dev/fd0135ds18 2880
mount /dev/fd0135ds18 /mnt
cp /boot /mnt/boot
instbb 135ds18 /dev/fd0135ds18
The floppy disk will be difficult to use as it does not
contain an appropriate /etc/default/boot,
or any other useful files, but is sufficient to get to the
instbb does not make file bootable.
The filesystem contained in file must also include
boot in its root directory. Hard disks must be
and contain an appropriate masterboot block. See
should be run before
runs the proper commands in the correct order.
assorted floppy disk boot blocks
first stage hard disk boot block
second stage hard disk boot block
optional filesystem-specific floppy disk
boot block installation scripts
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003