HP-UX: Boot Into Single User Mode

Posted on in Categories , , last updated November 21, 2008

Question: I know how to boot into single user mode under Linux and FreeBSD. But, how do I boot into single user mode under HP-UX (HP9000) UNIX operating system?

Answer:. First, you need to interrupt the boot process when prompted. This is useful to reset password and other tasks.

First, you need to tell HP-UX box to boot primary, it should give you a prompt to interact with the ISL. You should reply ‘y’ to this. Once at ISL> prompt type hpux -is or hpux -iS /stand/vmunix to boot into single user mode.

Booting HP-UX UNIX into Single User Mode

Use the following procedure to boot into single-user mode in HP-UX.

Interrupt the boot process when prompted by pressing [ESCAPE] key. You will see message as follows:

Selecting a system to boot. To stop selection process, press and hold the ESCAPE key... 


Autoboot from primary boot path enabled.
To override, press any key within 10 seconds.

Type boot pri isl at the prompt:
boot pri

At the ISL> prompt:, type
hpux -is /stand/vmunix
hpux -is
In above example, the -i option is used to make the system come up in run-level s, for single user mode of operation. /stand/vmunix is optional but some time required. Usually, ‘hpux -is’ is more than enough to boot into single user mode.

hpux is the HP-UX specific secondary system loader (SSL) utility for bootstrap. See man page for more information.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

4 comment

  1. When booting a system where it bypasses the ISL prompt, interrupt the boot sequence and type “bo pri -is” – this is one means, among others, to force a SU boot. Just a helpful possible tip.

Leave a Comment