Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Administering a System: Booting and Shutdown
Booting Systems
Chapter 5 481
boot option
kernel
Specifies to boot the specified kernel file using
the loader option given. For example: setauto
boot -is vmunix command creates an AUTO file
containing boot -is vmunix (which indicates to
boot in single-user mode, as specified by the -is
option).
See the hpux (1M) manpage for details on loader
options, which include LVM maintenance mode
(-lm), VxVM maintenance mode (-vm), tunable
maintenance mode (-tm), and others.
Step 4. Enter the showauto command again to verify the AUTO file’s new
configuration.
Changing AUTO from a Running HP-UX Environment
Changing the AUTO file for a given HP-UX boot device from within a
running HP-UX operating system is a three step process:
1. Copy the AUTO file from the EFI partition on the boot device to a file
on an HP-UX file system.
2. Edit the contents of the AUTO file to reflect the new settings.
3. Copy the edited AUTO file back to the EFI partition on the boot device.
Step 1. Copy the AUTO file from the EFI partition on the boot device to a file on
an HP-UX file system. Use the efi_cp command to do this. See efi_cp
(1M) for details. For example, if the EFI file system represented by the
device file /dev/rdsk/c1t4d0s1 contains the AUTO file you want to
change, use the following command to copy the AUTO file to your current
directory:
efi_cp -d /dev/rdsk/c1t4d0s1 -u /EFI/HPUX/AUTO AUTO
IMPORTANT The -u option in the command above tells efi_cp to copy the AUTO file
from the EFI file system to the HP-UX file system. Think of it as copying
the file up from the lower level EFI pre-boot environment. In Step 3 of
this procedure, the efi_cp command, used without the -u option, will
copy the edited AUTO file back to the EFI file system.