Operating System - HP-UX
1820098 Members
3671 Online
109608 Solutions
New Discussion юеВ

How to get to single user mode

 
Gregory Locke
Frequent Advisor

How to get to single user mode

Me again. Not that familiar with HPs, especially Itanium. Can I reboot from the console without logging in? I only get the login prompt which won't let me log in. If I manually powerdown the system (no other way) and power back up, where do I get an option to boot to single user mode in order to fix the password file? All help appreciated.
5 REPLIES 5
DCE
Honored Contributor

Re: How to get to single user mode



There should be point in the boot process where you have 10 seconds to press any key - press any key to interupt the boot.

Isuue the command to bo pri to start the boot process again, and answer yes to interact with the ISL

At the ISL prompt enter hpux -is

The system will then boot into single user mode
Court Campbell
Honored Contributor

Re: How to get to single user mode

login to the mp and issue a tc.

http://docs.hp.com/en/5991-1247B/ch05s08.html

"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Sudalaimani
Frequent Advisor

Re: How to get to single user mode

Hi,

It is pretty much same as PA-RISC box,

1. Reboot the server and from EFI Menu press any key befor e10 sec. to stop teh auto boot

2. Select Promary boot from EFI Menu and again press any key to intrupt and it will bring you to the HPUX> prompt as below


HP-UX Boot Loader for IPF -- Revision 2.027

Press Any Key to interrupt Autoboot
\EFI\HPUX\AUTO ==> boot vmunix
Seconds left till autoboot - 8
Type 'help' for help

3. Issue the command for single user mode boot
# hpux -is
will come up like this

INIT: Overriding default level with level 's'
INIT: SINGLE USER MODE
INIT: Running /sbin/sh

4. Proceed with your passwd change

Thanks

Mani

A Long Journey Starts with Single Foot Step
Torsten.
Acclaimed Contributor

Re: How to get to single user mode

Hi,

a possibility to reset the system (note: reset - not reboot!) is to logon to the MP, go to the command menu CM and issue a "RS":

MP:CM> rs

To boot into single user mode stop the auto bboot process:

Loading.: HP-UX Primary Boot: 0/4/1/0.0.0.1.0
Starting: HP-UX Primary Boot: 0/4/1/0.0.0.1.0

(C) Copyright 1999-2006 Hewlett-Packard Development Company, L.P.
All rights reserved

HP-UX Boot Loader for IPF -- Revision 2.029

Press Any Key to interrupt Autoboot


\EFI\HPUX\AUTO ==> boot vmunix -is

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Gregory Locke
Frequent Advisor

Re: How to get to single user mode

thanks to all