- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Booting in single user mode
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 12:45 PM
тАО02-13-2002 12:45 PM
Booting in single user mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 12:52 PM
тАО02-13-2002 12:52 PM
Re: Booting in single user mode
The procedure to use is:
Reboot the machine.
Watch at the console for it to prompt 'To dicsontinue, press any key within 10 seconds'
At that point hit the space bar.
At the 'Main Menu: Enter Command >' prompt type 'bo pri' and hit return
When asked 'Interact with IPL (Y,N,Q)?>' enter Y
At the 'ISL>' prompt type in 'hpux -is'
This should get you to single-user mode.
Even with only / and /stand, you should be able to get to single-user mode. While in single-user mode you will only have / and /stand available. If you want other file systems mounted you do have to mount them manually.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 12:53 PM
тАО02-13-2002 12:53 PM
Re: Booting in single user mode
in order to boot single user, you will need to issue the command:
hpux -is /stand/vmunix
at the ISL> prompt. If you are already doing so and it it still going up i3, there could be an issue.
After booting, you may need to issue the command:
mount -a
to bring up the rest of the file system.
If this command fails there may be an issue with /etc/fstab and/or /etc/mnttab
Check them out.
Good luck to you,
Kel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 12:57 PM
тАО02-13-2002 12:57 PM
Re: Booting in single user mode
Try this,
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=f171e1df0b23a64f32/screen=ckiDisplayDocument?docId=200000058670473
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 12:58 PM
тАО02-13-2002 12:58 PM
Re: Booting in single user mode
filesystems?". Without /var and /usr, you
only have those binaries that are in /bin and /sbin.
Also, did you answer "y" to the "Interact with IPL?" question? If you did, and it still went to init 3, then indeed you have a problem.
Were I you, I'd start with a more traditional
configuration of the system (with the /var and /usr filesystems) and try again.
Good luck
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 01:04 PM
тАО02-13-2002 01:04 PM
Re: Booting in single user mode
Anyways, you need to describe exactly how you are booting or what you are doing when you say you are booting into single user mode.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 01:06 PM
тАО02-13-2002 01:06 PM
Re: Booting in single user mode
I did hpux -is on ISL> though when I did who -r shows i 3 (the same when I chacked inittab), I couldn't telnet or ping the machine. Any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 01:11 PM
тАО02-13-2002 01:11 PM
Re: Booting in single user mode
You need to check the messages while booting the server. After u enter 'hpux -is' at the ISL prompt, while booting you will get a message like this " Over riding init level ; Booting in Single User mode".
Check for all messages during startup. Also 'init s' command will take you to single user mode.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 01:24 PM
тАО02-13-2002 01:24 PM
Re: Booting in single user mode
Try the following:
# echo $INIT_STATE
s
If it comes back with a lower case 's' then you are indeed in single-user mode.
Another way to check is to see if there are any of the 'multi-user' processes running, ie. anything that is started in run-level 2 or 3. The fact that you are not able to get to the machine over the network is a pretty good indication that you probably are actually in single-user mode. The 'who -r' command is just lying to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 01:27 PM
тАО02-13-2002 01:27 PM
Re: Booting in single user mode
I think your problem is that because /var is not mounted, the who command can't access /etc/wtmp which is a sybolic link to /var/adm/wtmp and thus the who -r results are bogus.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 11:26 PM
тАО02-13-2002 11:26 PM
Re: Booting in single user mode
you could try to change the /etc/inittab- file, put out the 3 in the line "initdefault". then do a reboot, your system will ask you in which runlevel you want to boot. Then enter a "s" and you will be in the single user mode.
I agree with Clay, the output of "who -r" must be nonsense, cause the /var/adm/wtmp is not available and that is the file which is read by who and some more commands.
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2002 11:33 PM
тАО02-13-2002 11:33 PM
Re: Booting in single user mode
You may use the command "getrunlvl" instead of "who -r"
for a change?
-Vijay