HP-UX Reference (11i v2 03/08) - 1M System Administration Commands A-M (vol 3)

h
hpux(1M) hpux(1M)
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 file 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/myconfig/vmunix"
Set autofile
: disk(2/0/1.3.0.0.0.0.0;0)
: AUTO file now contains "(hpux /stand/myconfig/vmunix)"
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 avail-
able kernel configurations to boot: the default configuration (vmunix), the automatic backup
configuration (backup), and one other saved configuration (good). 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 9 2 2 1024 ./
dr-xr-xr-x 14 2 2 1024 ../
drwxr-xr-x 5 0 3 1024 backup/
-rw-r--r-- 1 0 3 19 bootconf
drwxr-xr-x 3 0 3 1024 bootfs/
drwxr-xr-x 5 0 3 1024 current/
drwxr-xr-x 5 0 3 1024 good/
-rw-r--r-- 1 0 3 4376 ioconfig
-r--r--r-- 1 0 3 82 kernrel
HP-UX 11i Version 2: August 2003 8 Hewlett-Packard Company Section 1M287