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

h
hpux(1M) hpux(1M)
ISL> hpux lan(32)/stand/vmunix
Boot
: lan(32;0x0)/stand/vmunix
966616+397312+409688 start 0x6c50
Booting To Single User Mode
In this example, the -i option is used to make the system come up in run-level
s, for single user mode of
operation.
ISL> hpux -is
Boot
: disc(8.0.0;0x0)/stand/vmunix
966616+397312+409688 start 0x6c50
(Kernel Startup Messages Omitted)
INIT: Overriding default level with level ’s’
INIT: SINGLE USER MODE
WARNING: YOU ARE SUPERUSER !!
#
Booting With A Modified I/O Configuration
Here, a disc driver is configured in at CIO slot 5, SCSI address 5 as a dump device. Regardless of what was
present in the kernel’s original I/O configuration, the driver disc is now configured at that hardware path.
Similarly, asio0 is configured in at CIO slot 63 which is to be the console. The only other devices
configured are the console and root device, which boot derived from pdc.
ISL> hpux -aC asio0(8/0/63) -aD disc(8/16/5.5)
Boot
: disk(8/0/19/0.14.0.0.0.0.0;0)/stand/vmunix
: Adding console (8.0.63;0)...
: Adding dump (8.16.5.5;0)...
6463488 + 1101824 + 939616 start 0x39168
(Additional Kernel Startup Messages Omitted)
Displaying The Autoexecute File
In this example, show autofile is used to print the contents of the autoexecute le residing in the
boot LIF, on the device from which hpux was booted. Optionally, a devicefile can be specified in order to
read the
autoexecute file from the boot LIF of another boot device.
ISL> hpux show autofile
Show autofile
: AUTO file contains (hpux)
Changing The Autoexecute File
This example shows how to change the contents of the autoexecute file. Once done, the system can be
reset, and the new command will be used during any unattended boot.
ISL> hpux set autofile "hpux /stand/vmunix.std"
Set autofile
: disk(2/0/1.3.0.0.0.0.0;0)
: AUTO file now contains "(hpux /stand/vmunix.std)"
Listing Directory Contents
The contents of the directory (/stand) on the root disk are listed. The format shows the file protections,
number of links, user id, group id, and size in bytes for each file in the directory. There are three available
kernels to boot: vmunix, vmunix.test , and vmunix.prev . Listing the files over the LAN is not
supported.
ISL> hpux ll /stand
Ls
: disk(2/0/1.3.0.0.0.0.0;0)/stand
dr-xr-xr-x 3 2 2 1024 ./
Section 1M328 Hewlett-Packard Company 8 HP-UX 11i Version 1: September 2005