Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
User Guide hp Integrity Superdomehp 9000 Superdome > Appendix A Operating System Boot and Shutdown

Booting HP-UX

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

This section covers the following methods of booting HP-UX:

See “Shutting Down HP-UX” for details on shutting down the HP-UX operating system.

CAUTION:

ACPI Configuration for HP-UX Must Be “default”. On nPartition-capable HP Integrity servers, to boot the HP-UX operating system an nPartition must have its ACPI configuration value set to default.

At the EFI Shell interface, enter the acpiconfig command with no arguments to list the current ACPI configuration. If the acpiconfig value is not set to default, then HP-UX cannot boot; in this situation you must reconfigure acpiconfig or else booting will be interrupted with a panic when launching the HP-UX kernel.

To set the ACPI configuration for HP-UX: at the EFI Shell interface enter the acpiconfig default command, and then enter the reset command for the nPartition to reboot with the proper (default) configuration for HP-UX.

HP-UX Booting

You can boot HP-UX by using any one of the following procedures:

Procedure A-1 HP-UX Booting [BCH Menu]

From the BCH Menu, use the BOOT command to boot the HP-UX operating system. The BCH Menu is available only on HP 9000 servers.

  1. Access the BCH Main Menu for the nPartition on which you want to boot HP-UX.

    Login to the service processor (MP or GSP) and enter CO to access the Console list. Select the nPartition console. When accessing the console, confirm that you are at the BCH Main Menu (the Main Menu: Enter command or menu> prompt). If at a BCH menu other than the Main Menu, then enter MA to return to the BCH Main Menu.

  2. Choose which device you wish to boot.

    From the BCH Main menu, use the PATH command to list any boot path variable settings. The primary (PRI) boot path normally is set to the main boot device for the nPartition. You also can use the SEARCH command to find and list potentially bootable devices for the nPartition.

    Main Menu: Enter command or menu > PATH

    Primary Boot Path: 0/0/2/0/0.13
    0/0/2/0/0.d (hex)

    HA Alternate Boot Path: 0/0/2/0/0.14
    0/0/2/0/0.e (hex)

    Alternate Boot Path: 0/0/2/0/0.0
    0/0/2/0/0.0 (hex)

    Main Menu: Enter command or menu >
  3. Boot the device using the BOOT command from the BCH interface.

    You can issue the BOOT command in any of the following ways:

    • BOOT

      Issuing the BOOT command with no arguments boots the device at the primary (PRI) boot path.

    • BOOT bootvariable

      This command boots the device indicated by the specified boot path, where bootvariable is the PRI, HAA, or ALT boot path.

      For example, BOOT PRI boots the primary boot path.

    • BOOT LAN INSTALL or BOOT LAN.ip-address INSTALL

      The BOOT... INSTALL commands boot HP-UX from the default HP-UX install server or from the server specified by ip-address.

    • BOOT path

      This command boots the device at the specified path. You can specify the path in HP-UX hardware path notation (for example, 0/0/2/0/0.13) or in “path label” format (for example, P0 or P1) .

      If you specify the path in “path label” format then path refers to a device path reported by the last SEARCH command.

    After you issue the BOOT command, the BCH interface prompts you to specify whether you want to stop at the ISL prompt.

    To boot the /stand/vmunix HP-UX kernel from the device without stopping at the ISL prompt, enter n to automatically proceed past ISL and execute the contents of the AUTO file on the selected device. (By default the AUTO file is configured to load /stand/vmunix.)

    Main Menu: Enter command or menu > BOOT PRI

    Primary Boot Path: 0/0/1/0/0.15


     Do you wish to stop at the ISL prompt prior to booting? (y/n) >> n


    ISL booting hpux

    Boot
    : disk(0/0/1/0/0.15.0.0.0.0.0;0)/stand/vmunix

    To boot an HP-UX kernel other than /stand/vmunix, or to boot HP-UX in single-user or LVM-maintenance mode, stop at the ISL prompt and specify the appropriate arguments to the hpux loader.

  4. Exit the console and service processor interfaces if finished using them.

    To exit the BCH environment type ^B (Control-B); this exits the nPartition console and returns to the service processor Main Menu. To exit the service processor, type X at the Main Menu.

Procedure A-2 HP-UX Booting [EFI Boot Manager]

From the EFI Boot Manager menu, select an item from the boot options list to boot HP-UX using the selected boot option. The EFI Boot Manager is available only on HP Integrity servers.

See “ACPI Configuration for HP-UX Must Be “default”” for required configuration details.

  1. Access the EFI Boot Manager menu for the nPartition on which you want to boot HP-UX.

    Login to the service processor (MP or GSP) and enter CO to access the Console list. Select the nPartition console.

    When accessing the console, confirm that you are at the EFI Boot Manager menu (the main EFI menu). If at another EFI menu, select the Exit option from the sub-menus until you return to the screen with the EFI Boot Manager heading.

  2. At the EFI Boot Manager menu, select an item from the boot options list.

    Each item in the boot options list references a specific boot device and provides a specific set of boot options or arguments to be used when booting the device.

  3. Press Return or Enter to initiate booting using the selected boot option.

  4. Exit the console and service processor interfaces if finished using them.

    To exit the EFI environment type ^B (Control-B); this exits the nPartition console and returns to the service processor Main Menu. To exit the service processor, type X at the Main Menu.

Procedure A-3 HP-UX Booting [EFI Shell]

From the EFI Shell environment, to boot HP-UX on a device first access the EFI System Partition (for example fs0:) for the root device and then enter HPUX to invoke the loader. The EFI Shell is available only on HP Integrity servers.

See “ACPI Configuration for HP-UX Must Be “default”” for required configuration details.

  1. Access the EFI Shell environment for the nPartition on which you want to boot HP-UX.

    Login to the service processor (MP or GSP) and enter CO to access the Console list. Select the nPartition console.

    When accessing the console, confirm that you are at the EFI Boot Manager menu (the main EFI menu). If at another EFI menu, select the Exit option from the sub-menus until you return to the screen with the EFI Boot Manager heading.

    From the EFI Boot Manager menu, select the EFI Shell menu option to access the EFI Shell environment.

  2. At the EFI Shell environment, issue the acpiconfig command to list the current ACPI configuration for the local nPartition.

    On nPartition-capable HP Integrity servers, to boot the HP-UX operating system an nPartition must have its ACPI configuration value set to default. If the acpiconfig value is not set to default, then HP-UX cannot boot; in this situation you must reconfigure acpiconfig or else booting will be interrupted with a panic when launching the HP-UX kernel.

    To set the ACPI configuration for HP-UX: at the EFI Shell interface enter the acpiconfig default command, and then enter the reset command for the nPartition to reboot with the proper (default) configuration for HP-UX.

  3. At the EFI Shell environment, issue the map command to list all currently mapped bootable devices.

    The bootable filesystems of interest typically are listed as fs0:, fs1:, and so on.

  4. Access the EFI System Partition (fsX: where X is the filesystem number) for the device from which you want to boot HP-UX.

    For example, enter fs2: to access the EFI System Partition for the bootable filesystem number 2. Note that the EFI Shell prompt changes to reflect the filesystem currently accessed.

    Also note that the filesystem number may change each time it is mapped (for example, when the nPartition boots, or when the map -r command is issued).

  5. When accessing the EFI System Partition for the desired boot device, issue the HPUX command to invoke the HPUX.EFI loader on the selected devive.

    The full path for the loader is \EFI\HPUX\HPUX.EFI and when invoked it references the \EFI\HPUX\AUTO file and proceeds to boot HP-UX using the default boot behavior specified in the AUTO file.

    You are given ten seconds to interrupt the automatic booting of the default boot behavior. Typing a key during this ten-second period stops the HP-UX boot process and enables you to interact with the HPUX.EFI loader. To exit the loader (the HPUX> prompt) type exit to return to the EFI Shell.

    To boot the HP-UX operating system, do not type anything during the ten-second period given for stopping at the HPUX.EFI loader.

    Shell> map
    Device mapping table
    fs0 : Acpi(000222F0,269)/Pci(0|0)/Scsi(Pun8,Lun0)/HD(Part1,Sig72550000)
    blk0 : Acpi(000222F0,269)/Pci(0|0)/Scsi(Pun8,Lun0)
    blk1 : Acpi(000222F0,269)/Pci(0|0)/Scsi(Pun8,Lun0)/HD(Part1,Sig72550000)
    blk2 : Acpi(000222F0,269)/Pci(0|0)/Scsi(Pun8,Lun0)/HD(Part2,Sig72550000)
    blk3 : Acpi(000222F0,2A8)/Pci(0|0)/Scsi(Pun8,Lun0)
    blk4 : Acpi(000222F0,2A8)/Pci(0|1)/Scsi(Pun2,Lun0)

    Shell> fs0:

    fs0:\> hpux

    (c) Copyright 1990-2002, Hewlett Packard Company.
    All rights reserved

    HP-UX Boot Loader for IA64 Revision 1.723

    Press Any Key to interrupt Autoboot
    \efi\hpux\AUTO ==> boot vmunix
    Seconds left till autoboot - 9

  6. Exit the console and service processor interfaces if finished using them.

    To exit the EFI environment type ^B (Control-B); this exits the nPartition console and returns to the service processor Main Menu. To exit the service processor, type X at the Main Menu.

Single-User Mode HP-UX Booting

You can boot HP-UX in single-user mode by using any one of the following procedures:

Procedure A-4 Single-User Mode HP-UX Booting [BCH Menu]

From the BCH Menu, you can boot HP-UX in single-user mode by issuing the BOOT command, stopping at the ISL interface, and issuing hpux loader options. The BCH Menu is available only on HP 9000 servers.

  1. Access the BCH Main Menu for the nPartition on which you want to boot HP-UX in single-user mode.

    Login to the service processor (MP or GSP) and enter CO to access the Console list. Select the nPartition console. When accessing the console, confirm that you are at the BCH Main Menu (the Main Menu: Enter command or menu> prompt). If at a BCH menu other than the Main Menu, then enter MA to return to the BCH Main Menu.

  2. Boot the desired device using the BOOT command at the BCH interface, and specify that the nPartition stop at the ISL prompt prior to booting (reply y to the “stop at the ISL prompt” question).

    Main Menu: Enter command or menu > BOOT 0/0/2/0/0.13

    BCH Directed Boot Path: 0/0/2/0/0.13


    Do you wish to stop at the ISL prompt prior to booting? (y/n) >> y

    Initializing boot Device.

    ....

    ISL Revision A.00.42 JUN 19, 1999

    ISL>

  3. From the ISL prompt, issue the appropriate Secondary System Loader (hpux) command to boot the HP-UX kernel in the desired mode.

    Use the hpux loader to specify the boot mode options and to specify which kernel (such as: /stand/vmunix) to boot on the nPartition.

    • To boot HP-UX in single-user mode:

      ISL> hpux -is boot /stand/vmunix

    • To boot HP-UX at the default run level:

      ISL> hpux boot /stand/vmunix

    To exit the ISL prompt and return to the BCH interface, issue the EXIT command instead of specifying one of the above hpux loader commands.

    Refer to the hpux(1M) manpage for a detailed list of hpux loader options.

    Example A-1 Example Single-User HP-UX Boot

    ISL Revision A.00.42  JUN 19, 1999

    ISL> hpux -is /stand/vmunix

    Boot
    : disk(0/0/2/0/0.13.0.0.0.0.0;0)/stand/vmunix
    8241152 + 1736704 + 1402336 start 0x21a0e8

    ....

    INIT: Overriding default level with level ’s’

    INIT: SINGLE USER MODE

    INIT: Running /sbin/sh
    #
  4. Exit the console and service processor interfaces if finished using them.

    To exit the BCH environment type ^B (Control-B); this exits the nPartition console and returns to the service processor Main Menu. To exit the service processor, type X at the Main Menu.

Procedure A-5 Single-User Mode HP-UX Booting [EFI Shell]

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>) entering the boot -is vmunix command. The EFI Shell is available only on HP Integrity servers.

See “ACPI Configuration for HP-UX Must Be “default”” for required configuration details.

  1. Access the EFI Shell environment for the nPartition on which you want to boot HP-UX in single-user mode.

    Login to the service processor (MP or GSP) and enter CO to access the Console list. Select the nPartition console.

    When accessing the console, confirm that you are at the EFI Boot Manager menu (the main EFI menu). If at another EFI menu, select the Exit option from the sub-menus until you return to the screen with the EFI Boot Manager heading.

    From the EFI Boot Manager menu, select the EFI Shell menu option to access the EFI Shell environment.

  2. Access the EFI System Partition (fsX: where X is the filesystem number) for the device from which you want to boot HP-UX.

  3. When accessing the EFI System Partition for the desired boot device, issue the HPUX command to invoke the \EFI\HPUX\HPUX.EFI loader on the selected devive.

  4. Boot to the HP-UX Boot Loader prompt (HPUX>) by typing any key within the ten seconds given for interrupting the HP-UX boot process. You will use the HPUX.EFI loader to boot HP-UX in single-user mode in the next step.

    After you type a key, the HPUX.EFI interface (the HP-UX Boot Loader prompt, HPUX>) is provided. For help using the HPUX.EFI loader, type the help command. To return to the EFI Shell, type exit.

    fs0:\> hpux

    (c) Copyright 1990-2002, Hewlett Packard Company.
    All rights reserved

    HP-UX Boot Loader for IA64 Revision 1.723

    Press Any Key to interrupt Autoboot
    \efi\hpux\AUTO ==> boot vmunix
    Seconds left till autoboot - 9

    [User Types A Key to Stop the HP-UX Boot Process and Access the HPUX.EFI Loader ]

    Type ’help’ for help

    HPUX>
  5. At the HPUX.EFI interface (the HP-UX Boot Loader prompt, HPUX>) enter the boot -is vmunix command to boot HP-UX (the /stand/vmunix kernel) in single-user (-is) mode.

    HPUX> boot -is vmunix
    > System Memory = 4063 MB
    loading section 0
    ................................................... (complete)
    loading section 1
    ........ (complete)
    loading symbol table
    loading System Directory(boot.sys) to MFS
    ....
    loading MFSFILES Directory(bootfs) to MFS
    ......
    Launching /stand/vmunix
    SIZE: Text:25953K + Data:3715K + BSS:3637K = Total:33306K

    Console is on a Serial Device
    Booting kernel...

  6. Exit the console and service processor interfaces if finished using them.

    To exit the EFI environment type ^B (Control-B); this exits the nPartition console and returns to the service processor Main Menu. To exit the service processor, type X at the Main Menu.

LVM-Maintenance Mode HP-UX Booting

You can boot HP-UX in LVM-maintenance mode by using any one of the following procedures:

Procedure A-6 LVM-Maintenance Mode HP-UX Booting [BCH Menu]

From the BCH Menu, you can boot HP-UX in LVM-maintenance mode by issuing the BOOT command, stopping at the ISL interface, and issuing hpux loader options. The BCH Menu is available only on HP 9000 servers.

  1. Access the BCH Main Menu for the nPartition on which you want to boot HP-UX in LVM-maintenance mode.

    Login to the service processor (MP or GSP) and enter CO to access the Console list. Select the nPartition console. When accessing the console, confirm that you are at the BCH Main Menu (the Main Menu: Enter command or menu> prompt). If at a BCH menu other than the Main Menu, then enter MA to return to the BCH Main Menu.

  2. Boot the desired device using the BOOT command at the BCH interface, and specify that the nPartition stop at the ISL prompt prior to booting (reply y to the “stop at the ISL prompt” question).

  3. From the ISL prompt, issue the appropriate Secondary System Loader (hpux) command to boot the HP-UX kernel in the desired mode.

    To boot HP-UX in LVM-maintenance mode:

    ISL> hpux -lm boot /stand/vmunix

  4. Exit the console and service processor interfaces if finished using them.

    To exit the BCH environment type ^B (Control-B); this exits the nPartition console and returns to the service processor Main Menu. To exit the service processor, type X at the Main Menu.

Procedure A-7 LVM-Maintenance Mode HP-UX Booting [EFI Shell]

From the EFI Shell environment, boot in LVM-maintenance mode by stopping the boot process at the HPUX.EFI interface (the HP-UX Boot Loader prompt, HPUX>) entering the boot -lm vmunix command. The EFI Shell is available only on HP Integrity servers.

See “ACPI Configuration for HP-UX Must Be “default”” for required configuration details.

  1. Access the EFI Shell environment for the nPartition on which you want to boot HP-UX in LVM-maintenance mode.

    Login to the service processor (MP or GSP) and enter CO to access the Console list. Select the nPartition console.

    When accessing the console, confirm that you are at the EFI Boot Manager menu (the main EFI menu). If at another EFI menu, select the Exit option from the sub-menus until you return to the screen with the EFI Boot Manager heading.

    From the EFI Boot Manager menu, select the EFI Shell menu option to access the EFI Shell environment.

  2. Access the EFI System Partition (fsX: where X is the filesystem number) for the device from which you want to boot HP-UX.

  3. When accessing the EFI System Partition for the desired boot device, issue the HPUX command to invoke the \EFI\HPUX\HPUX.EFI loader on the selected device.

  4. Type any key within the ten seconds given for interrupting the HP-UX boot process. This stops the boot process at the HPUX.EFI interface (the HP-UX Boot Loader prompt, HPUX>).

  5. At the HPUX.EFI interface, enter the boot -lm vmunix command to boot HP-UX (the /stand/vmunix kernel) in LVM-maintenance (-lm) mode.

  6. Exit the console and service processor interfaces if finished using them.

    To exit the EFI environment type ^B (Control-B); this exits the nPartition console and returns to the service processor Main Menu. To exit the service processor, type X at the Main Menu.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.