HP-UX HB v13.00 Ch-02 - System Boot

HP-UX Handbook Rev 13.00 Page 8 (of 14)
Chapter 02 System Boot
October 29, 2013
hpux provides some other useful features like:
ISL> hpux ll Shows the content of the boot filesystem /stand.
This is useful if the kernel cannot be found
ISL> hpux show autofile The content of the LIF file AUTO is shown. This is
identical to the ISL utility lsa (see above)
ISL> hpux set autofile <string> Sets the content of the LIF file AUTO to whatever
you specify in <string>.
For additional arguments of hpux, see hpux man page.
NOTE: Things are different on a virtual partition (vPars) system. You do not load the kernel
directly, but through the vPars monitor vpmon. Refer to the vPars Chapter, Chapter-17, for
details.
Now the secondary loader relocates itself to the end of the initial memory module (IMM), loads
the kernel and starts running it. In the next steps the kernel initializes memory, IO and forks off
system daemons.
1. Kernel initialization (real mode):
Initialize all of the memory, read /stand/ioconfig and /stand/rootconf files using
the hpux loader’s system calls, initialize all modules (1
st
level I/O configuration), allocate
equivalently-mapped data structures, PDIR and hash table, optimize assembly, craft
process 0, go virtual.
2. Kernel initialization (virtual mode):
Start the clock, start up the other processors, finish the I/O configuration (2
nd
level),
initialize subsystems, initialize LVM/swap/dump, mount root file system read-only,
fork() off system daemons.
3. fork() off /sbin/pre_init_rc and mount root file system read-write afterwards.
The console output is as follows:
ISL> hpux
Booting...
Boot IO Dependent Code (IODC) revision 1
HARD Booted.
ISL Revision A.00.43 Apr 12, 2000
ISL booting hpux