Operating System - HP-UX
1752785 Members
6029 Online
108789 Solutions
New Discussion юеВ

Re: Login to single user mode.

 
GTFSpanneer
Frequent Advisor

Login to single user mode.

Hi ,

how to login single user mode in RX6600 servers.

Please provide the steps.

reards
Panneer

9 REPLIES 9
madhuchakkaravarthy
Trusted Contributor

Re: Login to single user mode.

hi

shutdown -r y 0

interupt in the shell

hpux -is

regards

MC
Jose Mosquera
Honored Contributor

Re: Login to single user mode.

Hi,

Please follow the steps indicated in this User Service Guide to HP Integrity rx6600, Apendix B,Booting and Shutting Down the Operating System and then HP-UX Booting in Single-User Mode section:
http://www.filibeto.org/unix/hp-ux/lib/hardware/systems/rx6600/user-service-guide-AB464-9003A.pdf

Rgds.
Ismail Azad
Esteemed Contributor

Re: Login to single user mode.

Hi,

> madhuchakkaravarthy.
hpux -is

This command works on PARISC. The server mentioned is an rx6600. And here you wouldn't have a BCH prompt, the following command would have to be executed on the HPUX prompt.

HPUX> boot vmunix -is

:)

The firmware and players involved in the booting process are different on PARISC and integrity and hence you would see different commands on both these architectures for getting into lvm maintenance mode, loading a different kernel, booting with low qourom.

Remember there are many ways to get into single user mode, this is how you boot in single user mode generally on any integrity server.

However the command #shutdown on the shell will also take you into single user mode and so will init 1 and init s. However that is a transition from "runlevels" and hmmm there is a difference and at times a big one. Don't forget to assign points.

Regards
Ismail Azad


Read, read and read... Then read again until you read "between the lines".....
Bill Hassell
Honored Contributor

Re: Login to single user mode.

> how to login single user mode in RX6600 servers.

Probably the most important point: all of this must done through the console, either RS-232 or the LAN Console. Single user mode (as well as all hardware maintenance and boot control) cannot be accessed using the usual HP-UX network connection.


Bill Hassell, sysadmin
Fidel Monreal
New Member

Re: Login to single user mode.

Hi,

To go into single user mode on a server do the following:

1. Log into the mp and enter the console (press co from the mp).

2. Reboot the server or power cycle if hung from the console.

3. When the server is booting up after it passes the hardware checks it will bring up a blue screen with the bootup information. After it chooses the path it will give you a few seconds to interrupt it from auto booting.

4. Interrupt it at that point and type:
boot vmunix -is (or where ever your kernel is from which you want to boot from)

I'm assuming you are running HP-UX 11iv2 or higher on the RX6600. If you are running RH or some other OS it will be different.

For older versions of HPUX use HPUX -is at the isl prompt.

Be aware that when you are in single user mode you will have to mount all filesystems needed since only / and /stand will be available so you won't have your commands under /usr/sbin, so mount /usr first. You can also run bcheckrc which will do that for you. Of course it all depends with what you want available and what you are fixing in which case you may want some things mounted and other not.

If you are on the OS and its HPUX 11iv2 or higher you can also go into run level 1 by typing init 1. That should get you there that way too.
Torsten.
Acclaimed Contributor

Re: Login to single user mode.

When I look at your profile and see the "My area(s) of expertise" - you must be a hp-ux guru...

However, as said in the other answers, allow the server to boot from the primary path, but stop it at the second timeout phase. Then you get the hpux.efi loader prompt. From there do a "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!   
Dennis Handly
Acclaimed Contributor

Re: Login to single user mode.

>Fidel: HP-UX 11iv2 or higher you can also go into run level 1 by typing init 1.

I've never seen anyone say they have successfully gotten to single user mode by "init 1". Important filesystems may be still mounted.
madhuchakkaravarthy
Trusted Contributor

Re: Login to single user mode.

hi ismail

thanks for info.

two question posted to login in single user mode for rp and rx servers. just did a copy paste.

eventhough if he executed it will run.

fs0:ls

vmunix

regards

MC
madhuchakkaravarthy
Trusted Contributor

Re: Login to single user mode.

eventhough if he executed it will run.


---------------------> it will not run,,,words missed

regards

MC