- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/inittab run level 0...oh no!
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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
11-22-1999 02:05 PM
11-22-1999 02:05 PM
/etc/inittab run level 0...oh no!
In my efforts to get to single user mode to do some logical volume resizing, I
edited /etc/inittab and set the run level to '0'. I think I meant to put '1'
Now whenever the machine boots, after the initial boot sequence, it immediately
shutsdown and powers off. I assume that is what run-level 0 is ( duh!)
Is there any way out of this mess, without re-installing HP-UX?
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-1999 08:07 PM
11-22-1999 08:07 PM
Re: /etc/inittab run level 0...oh no!
1.Interupt the boot process at the 'Press any key within 10 seconds to interupt
boot process' message to get the ISL prompt
2. boot to single user state ie
ISL> hpux -is boot.
3.Then you will probably need to mount /dev/vg00/lvol1 to get at /etc/inittab
4.Edit the etc/inittab file to change the runlevel.
5.Reboot.
Regards
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-1999 06:25 AM
11-24-1999 06:25 AM
Re: /etc/inittab run level 0...oh no!
However, I just wanted to clarify a few points.
1) After you press "Any key" to interrupt the boot sequence you will be brought
to a boot admin prompt. A. If the system that you are updated is a series 800,
then you can type "boot pri" to start booting off the primary boot path. Then
it will give you a question asking if you want to interract with ISL. Answer
"Yes". From there type the "hpux -is".
B. If the system is a series 700 then when you get to boot admin type "boot pri
isl". Without the ISL part, it will not give the choice to interact. From the
ISL prompt type the "hpux -is" as before.
2) Just to clarify, /dev/vg00/lvol1 will be mounted in single user. However,
/usr will not be. So many commands will not be in your path. You may want to
mount /usr to avoid having to specify /sbin before every command. To mount
/usr:
# /sbin/mount /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-1999 05:11 PM
11-24-1999 05:11 PM
Re: /etc/inittab run level 0...oh no!
lvol2 is swap, and lvol3 is /.
I'm not going to try it myself, but, if the previous suggestions don't work:
You could try booting to a recovery shell using the install CD.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-1999 02:36 AM
11-29-1999 02:36 AM
Re: /etc/inittab run level 0...oh no!
editor. Most systems are set to use /var/tmp for temporary vi files.