HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)
h
hpux(1M) hpux(1M)
(PA-RISC Systems Only)
To boot a saved kernel configuration, specify a devicefile of
/stand/configname/vmunix, where
configname is the name of the saved configuration to boot. For more details on saved kernel configurations,
see kconfig(5).
Regardless of how incomplete the specified devicefile may be,
boot announces the complete devicefile
specification used to find the object file. Along with this information,
boot gives the sizes of the TEXT,
DATA, and BSS, segments and the entry offset of the loaded image, before transferring control to it.
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,or
D option is specified, the kernel configures the devicefile as
the
console, root, swap,or
dump device, respectively. 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 system.
The run-level specified will override any run-level specified in an initde-
fault 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 versions
of HP-UX have boot loaders that do not support this flag. On those sys-
tems, 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 unavail-
able, 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 sup-
ported 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 running. (If this
option is not specified and a disk is locked by another processor, 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
EXEC-
MAGIC
(0407), SHAREMAGIC (0410), and DEMANDMAGIC (0413). See magic(4). The object file must con-
tain 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).
356 Hewlett-Packard Company − 3 − HP-UX 11i Version 2: December 2007 Update