HP-UX Reference (11i v1 00/12) - 1M System Administration Commands A-M (vol 3)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/!!!intro.1m
________________________________________________________________
___ ___
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, 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.
-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).
DIAGNOSTICS
If an error is encountered, hpux prints diagnostic messages to indicate the cause of the error. These mes-
sages fall into the General, Boot, Copy, Configuration, and System Call categories. System Call error mes-
sages are described in errno(2). The remaining messages are listed below.
General
bad minor number in devicefile spec
The minor number in the devicefile specification is not recognized.
bad path in devicefile spec
The hardware path in the devicefile specification is not recognized.
command too complex for parsing
The command line contains too many arguments.
no path in devicefile spec
The devicefile specification requires (but does not contain) a hardware path component.
HP-UX Release 11i: December 2000 3 Section 1M313
___
___