LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-14-2009, 12:44 PM   #1
thebhanu
LQ Newbie
 
Registered: Aug 2009
Posts: 5

Rep: Reputation: 0
Exclamation What can i DO?!!!


I changed the /etc/inittab in my red hat but deleted the ID 5 , left it empty now i cannot load the system, it displays
INIT: No more processes in this runlevel

Please help me!
 
Old 08-14-2009, 12:49 PM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
I think if you copy your inittab here it'd be easier to see what went wrong, they're pretty standard. Have you changed anything else in your system (deleted any files etc)?

PS. If you don't have access to your system, try using a live CD or log in in single user mode
 
Old 08-14-2009, 12:49 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
on the boot menu screen, assuming you're using grub, hit esc to enter the menu, and then e to edit the current config, or just e if you see it by default, then add "3" to the line, and b for boot. this will bot you into runlevel 3 instead of 5, letting you fix whatever you need to.
 
Old 08-14-2009, 12:52 PM   #4
windtalker10
Member
 
Registered: Nov 2007
Location: Kentucky
Distribution: Slackware13.1
Posts: 214

Rep: Reputation: 38
OUCH!!!

The only RH distro I have run is Fedora so I don't know if this will work or not.

1.] Start your box up and as soon as you see the boot selection come u asking which kernel to boot, hit escape or anything to stop the auto selection.
2.] try and navigate to the kernel you normally boot to and strike e, enter and then 3 key to try and get the box to boot to run level 3.
3.] If this works, you should now be able to access a terminal as root.
It will just be a black screen with bash-3.1$ showing.
If so, as root, nano /etc/inittab, enter and change your run level back to 5.
In nano to save the change,,, ctrl x enter,,, y enter.

If this way doesn't get you to a terminal, hopefully someone else here knows how to boot to a terminal in RH and help you.
If not, try checking the fedora wiki or forum and most definitely someone there knows how.

Edit: Sorry for the double post. Didn't know we were both answering the question with the same response.

Last edited by windtalker10; 08-14-2009 at 12:56 PM.
 
Old 08-14-2009, 01:16 PM   #5
thebhanu
LQ Newbie
 
Registered: Aug 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Uncle_Theodore View Post
I think if you copy your inittab here it'd be easier to see what went wrong, they're pretty standard. Have you changed anything else in your system (deleted any files etc)?

PS. If you don't have access to your system, try using a live CD or log in in single user mode
I just deleted the 5 and saved it and restrated
 
Old 08-14-2009, 01:58 PM   #6
thebhanu
LQ Newbie
 
Registered: Aug 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Hi All,
I'm using RedHat Linux 9. I've made some changes in 'inittab'
file. The changes are as follow:

id::initdefauult:

Here I've just omitted the runlevel number in the hope that
it would ask the user what runlevel to enter after booting.
This line was originally like this -> 'id:5:initdefault:'.
But after booting it automatically entered into runlevel 9 and
displayed a message like 'no operation is specified in this
runlevel ' and then stoped execution. From here neither could I
login nor I could change the inittab file. My bootloader is
'grub'.

Can anybody help me out to solve this problem ?
 
Old 08-14-2009, 02:07 PM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,496

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
Quote:
Exclamation What can i DO?!!!
A start would be to use a good title to describe the problem,
 
Old 08-14-2009, 02:28 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Yes, we already have... have you tried?
 
  


Reply

Tags
help, inittab


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 04:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration