HP-UX Reference (11i v2 03/08) - 1M System Administration Commands A-M (vol 3)

h
hpux(1M) hpux(1M)
The boot operation accepts several options. Note that
boot options must be specified positionally as
shown in the syntax statement in the SYNOPSIS. Options for the
boot operations are as follows:
-a[CRSD]
devicefile Accept a new location (as specified by devicefile) and pass it to the
loaded image. If that image is an HP-UX kernel, the kernel will erase
its predefined I/O configuration, and configure in the specified
devicefile. If the
C,
R, S,orD option is specified, the kernel configures
the devicefile as the
console,
root, swap,ordump device, respec-
tively. Note that
-a can be repeated multiple times.
-fnumber Use the number and pass it as the flags word to the loaded image.
-istring Set the initial run-level for init
(see init(1M)) when booting the sys-
tem. The run-level specified will override any run-level specified in an
initdefault entry in
/etc/inittab (see inittab (4)).
-lm Boot the system in LVM maintenance mode, configure only the root
volume, and then initiate single user mode.
-vm Boot the system in VxVM maintenance mode, configure only the root
volume, and then initiate single user mode.
-tm Boot the system in tunable maintenance mode, also known as "failsafe
boot" mode. This option will disregard the tunable settings and module
settings in the kernel configuration, and boot with known good settings
instead. Note: some systems that have been updated from earlier ver-
sions of HP-UX have boot loaders that do not support this flag. On
those systems, the flag -f0x40000 can be used instead.
-lq Boot the system with quorum override option. This option is used in a
scenario where a disk is removed from the system or is otherwise una-
vailable, but the corresponding entry for the physical volume has not
yet been removed from the volume group using vgreduce.
-F Used with SwitchOver/UX software. However, SwitchOver/UX is not
supported on HP-UX 10.30 or later systems. The -F option is used to
ignore any locks on the boot disk. The -F option should be used only
when it is known that the processor holding the lock is no longer run-
ning. (If this option is not specified and a disk is locked by another pro-
cessor, the kernel will not boot from it, to avoid the corruption that
would result if the other processor were still using the disk).
boot places some restrictions on object files it can load. It accepts only the HP-UX magic numbers
EXECMAGIC (0407), SHAREMAGIC (0410), and DEMANDMAGIC (0413). See magic(4). The object file
must contain an Auxiliary Header of the HPUX_AUX_ID type and it must be the first Auxiliary Header
(see a.out(4)).
ll and ls Operations
The ll and ls operations list the contents of the HP-UX directory specified by the optional devicefile.
The output is similar to that of ls -aFl command, except the date information is not printed.
The default devicefile is generated just as for
boot, defaulting to the current directory.
set autofile Operation
The set autofile operation overwrites the contents of the autoexecute file, autofile, with the
string specified (see autoexecute in the EXAMPLES section).
show autofile Operation
The show autofile operation displays the contents of the autoexecute file, autofile (see autoex-
ecute in the EXAMPLES section).
DIAGNOSTICS
If an error is encountered,
hpux prints diagnostic messages to indicate the cause of the error. These
messages fall into the General, Boot, Copy, Configuration, and System Call categories. System Call error
messages are described in errno(2). The remaining messages are listed below.
Section 1M282 Hewlett-Packard Company 3 HP-UX 11i Version 2: August 2003