mkboot.1m (2010 09)

m
mkboot(1M) mkboot(1M)
A safer method for reapportioning space is to use the
-h option.
This option is valid only if device has the Whole Disk layout.
-h Specifying this option shrinks the available space allocated to swap in the
LIF header by the amount required to allow the installation of the new
boot programs specified by boot_file_path .
After the LIF header has been modified, reboot the system to reflect the
new swap space on the running system. At this point, the new boot pro-
grams can be installed and the system rebooted again to reflect the new
boot programs on the running system. This is the safe method for accom-
plishing the capability of the
-f option.
This option is valid only if device has the Whole Disk layout.
-H If this option is specified,
mkboot treats device to be a Hard Partition lay-
out disk. This option cannot be used along with the
-l and -W options.
-i included_lif_file If the
-i option is specified one or more times,
mkboot copies each
included_lif_file and ignores any other LIF files in the boot programs. The
sole exceptions to this rule are the files
ISL and HPUX, which are copied
without regard to the
-i options. If included_lif_file is also specified with
the
-p option, the -i option is ignored. If the -i option is used with
LABEL as its argument and the file LABEL does not exist in the boot pro-
grams, and device is an LVM layout disk or the -l option is used,
mkboot creates a minimal LABEL file on device which will permit the
system to boot on device , possibly without swap or dump.
If the device is a disk with VxVM layout and the
-l option is used, the
LABEL file created by mkboot is not sufficient to permit the system to
boot. To create a LABEL file for the VxVM layout, you must use the
vxvmboot command after mkboot has been executed.
-l If this option is used, mkboot treats device as a volume layout disk,
regardless of whether or not it is currently set up as one. This option can-
not be used along with the -H and -W options. Use the -l option for any
volume manager, including the VERITAS Volume Manager (VxVM) as well
as LVM.
-p preserved_lif_file If the
-p option is specified one or more times, mkboot keeps each
specified preserved_lif_file intact on device .Ifpreserved_lif_file also
appears as an argument to the
-i option, that -i option is ignored. This
option is typically used with the autoexecute file, AUTO, and with the LVM
file, LABEL.
If
LABEL is specified as an argument to the -p option and LABEL does
not exist on the device , and if the layout is LVM,
mkboot creates a
minimal LABEL file. In general, if preserved_lif_file is not on the device ,
mkboot fails. An exception to this condition is if the preserved_lif_file is
LABEL and the layout is not LVM, in which case the LABEL file is
ignored.
-s efi_file_path Fetch the EFI files to be copied from efi_file_path instead of from the
default location
/usr/lib/efi. The -s option is valid only with the
-e option, which specifies the Itanium-based ssytem EFI layout.
-u If -u is specified, mkboot uses the information contained in the LIF
header to identify the location of the swap area, boot area, and raw I/O so
that installation of the boot programs does not violate any user data.
Normally, the LIF header information is overwritten on each invocation of
mkboot. This option is typically used with the
-W option, to modify boot
programs on a disk that is actively supporting swap and/or raw I/O.
-v If this option is specified, mkboot displays its actions, including the
amount of swap space available on the specified device.
-W If this option is specified, mkboot treats device as a disk having the
Whole Disk layout. This option cannot be used along with the -l and -H
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010