HP-UX: Boot Into Single User Mode

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.

ADVERTISEMENTS

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... 

OR

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
OR
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.

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
4 comments… add one
  • Alessandro Jan 20, 2012 @ 9:09

    it’s a little different for UEFI/Itanium machines
    there’s no ISL ans the command is

    boot vmunix -is

  • Emmanuel Apr 27, 2012 @ 6:05

    Hello
    My system Boots & display (cannot find standard vmunix) and stops at ISL Prompt.
    Please your help is required
    Thanks & Best regards

  • Brian Driscoll Nov 17, 2013 @ 4:46

    at prompt type “boot into single user mode” let me know how it goes bud.

  • Longknife Apr 4, 2014 @ 18:20

    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 Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.