HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)

h
hpux(1M) hpux(1M)
(PA-RISC Systems Only)
hpux
supports a consolidated list of managers:
disc, tape, and lan. The manager disc manages all
disk devices. The manager
lan manages the LAN interface used during Ignite-UX system installs. The
manager tape manages all tape drives.
Defaults
Default values chosen by hpux to complete a command are obtained through a sequence of steps. First,
any components of the command specified explicitly are used. If the command is not complete,
hpux
attempts to construct defaults from information maintained by
pdc (see pdc(1M)). If sufficient information
to complete the command is unavailable, the
autoexecute
file is searched. If the search fails, any
remaining unresolved components of the command are satisfied by hard-coded defaults.
There is no hard-coded default choice for a manager; if none can be chosen,
hpux reports an error.
When the hardware path to the boot device is not specified,
hpux defaults to information maintained by
pdc. The hardware path element has no hard-coded default.
For the boot command, a devicefile specification without a file name indicates that the boot device does
not contain an HP-UX file system.
hpux interprets this as a NULL (instead of missing) file name and does
not search for a default. If the entire devicefile specification is missing,
hpux searches for a default; either
the
autoexecute file contents or the hard-coded default is chosen.
There are two possible hard-coded default devicefile specifications. One hard-coded default devicefile
specification is
/vmunix. The other hard-coded default devicefile specification is
/stand/vmunix.
If you have a LVM or VxVM system where the boot volume and the root volume are on different logical
volumes, the kernel would be
/vmunix. This is because the boot volume will be mounted under /stand
when the system is up.
For all other configurations, the kernel would be /stand/vmunix
.
The search order for the hard-coded defaults is
/stand/vmunix
and then /vmunix.
boot Operation
The boot operation loads an object file from an HP-UX file system or raw device as specified by the
optional devicefile. It then transfers control to the loaded image.
Any missing components in a specified devicefile are supplied with a default. For example, a devicefile of
vmunix would actually yield:
disc(0/5/0/1.0.0;0)vmunix
and a devicefile of (0/5/0/1.0.0)/stand/vmunix
, would yield
disc(0/5/0/1.0.0;0)/stand/vmunix
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,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.
HP-UX 11i Version 3: February 2007 2 Hewlett-Packard Company 311