- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Equivalent to /etc/inittab
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
тАО01-24-2008 12:44 PM
тАО01-24-2008 12:44 PM
Is there an an equivalne file in Linux to /etc/inittab of hp-UX to specify the run level(like single user mode), other than /etc/grub.conf.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2008 12:49 PM
тАО01-24-2008 12:49 PM
Re: Equivalent to /etc/inittab
What Linux distribution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2008 01:23 PM
тАО01-24-2008 01:23 PM
Re: Equivalent to /etc/inittab
At least in RH there is. What version of Linux are you on? I think that maybe some Debian variants (if I remember correctly, but it's been a while) don't use it though.
What version are you speaking of?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2008 03:01 PM
тАО01-24-2008 03:01 PM
Re: Equivalent to /etc/inittab
The 'id:X:initdefault:' line specifies the default run level.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2008 06:20 PM
тАО01-24-2008 06:20 PM
Re: Equivalent to /etc/inittab
http://en.wikipedia.org/wiki/Upstart
Upstart is configured by files in /etc/event.d/. The /etc/event.d/rc-default script selects the default level. That script still looks at /etc/inittab and the initdefault setting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2008 01:30 AM
тАО01-25-2008 01:30 AM
Re: Equivalent to /etc/inittab
grub is the boot manager of linux, compare it with ISL on HPUX.
just to be sure you know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2008 03:01 AM
тАО01-25-2008 03:01 AM
Solutionid:5:initdefault:
If you want it to level 1 (single user) use
id:1:initdefault:
But this is usualy not done like this but at boot time at the console by interrupting grub
just type
Select the line that starts with kernel you want and type e to edit the line.
Go to the end of the line and type single or 1 as a separate word (press the [Spacebar] and then type single or 1). Press [Enter] to exit edit mode.
Back at the GRUB screen, type b to boot into single user mode.
this will get you in single user mode for just this one boot if you need to be more permanent ie at each boot you could write this into the file /boot/grub/menu.lst
when your are in single user mode you need to manualy type a
this will then execute your /etc/inittab to the level you specified there...
Hope this is what you needed
enjoy life.
Jean-Pierre Huc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2008 04:37 AM
тАО01-25-2008 04:37 AM
Re: Equivalent to /etc/inittab
id:X:initdefault: is the line specifies the default run-level that the system will boot into.
grub.conf or editing the boot options during the Grub loader will also help you boot into the run-level you would like.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2008 05:57 AM
тАО01-25-2008 05:57 AM
Re: Equivalent to /etc/inittab
Later (once in single user mode)update the inittab to normal run level and doing ctrl+d..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2008 06:31 AM
тАО01-25-2008 06:31 AM
Re: Equivalent to /etc/inittab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2008 04:48 AM
тАО01-26-2008 04:48 AM
Re: Equivalent to /etc/inittab
But the think to point out is if you put Single in /boot/grub/menu.lst and single is the level you want to work most of the time then
like from 1 in menu.lst with 5 in /etc/inittab then a
So passing 1 or single to grub should be seen as a way to interrupt full boot (that is to a level higher then single or 1.
Hope I did manage to help.
enjoy life.
Jean-Pierre Huc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2008 04:08 PM
тАО01-29-2008 04:08 PM