HP-UX System Administrator's Guide: Routine Management Tasks

3. If the logical volume containing the /stand file system contains more than
one physical device, you have a little more work to do. You have to determine
which of them you booted from, or more importantly, which one you will
boot from after changing its AUTO file. Though not always, it is usually the
device associated with your PRI (primary) boot path.
Use the setboot command with no options to determine which device your
primary boot path currently points to, then use the lssf command with each
device file associated with the logical volume containing /stand. Look for
which device file has a hardware address that matches your primary boot
path. Change the “p2” to “p1” as in the previous sub-step and you have the
name to use with efi_cp.
NOTE: You can use this procedure with devices other than your current boot
device if you have multiple devices you alternately boot from.
Example 2-8 “Determining the EFI disk partition of your current boot device using
LVM” describes a common occurrence.
2. Use the method or editor of your choice to change the contents of the AUTO file
in your current directory. For example, you might want to change the contents of
the AUTO file to automatically boot from an alternate kernel file:
Before the change AUTO contains:
boot vmunix
After your edits AUTO contains:
boot testvmunix
3. Copy the changed AUTO file back to the EFI file system using the efi_cp command
(without the -u option):
efi_cp -d /dev/rdsk/c1t4d0s1 AUTO /EFI/HPUX/AUTO
Booting into Single-User Mode
You can boot HP-UX in single-user mode by using the following procedure:
Procedure 2-9 Booting HP-UX Into Single-User Mode on HP Integrity Servers
From the EFI Shell environment, boot in single-user mode by stopping the boot process
at the HPUX.EFI interface (the HP-UX Boot Loader prompt, HPUX>) and enter the
boot -is vmunix command.
54 Booting and Shutdown