LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 11-03-2006, 09:25 AM   #1
cnm
Member
 
Registered: Nov 2006
Distribution: RHEL 4
Posts: 34

Rep: Reputation: 15
How to stop at run level 3 when booting


I changed inittab file. now it get stuck at runlevel 5 when booting. how can I fix it
 
Old 11-03-2006, 09:29 AM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
What do you mean by "getting stuck", do you mean the system locks up when you're trying to boot to runlevel 5? What was the previous runlevel?

If I remember correctly, at the boot prompt just edit the kernel line and add the runlevel number at the end of the line (3 in your case, right?) and boot.
 
Old 11-03-2006, 10:39 AM   #3
disorderly
Member
 
Registered: Sep 2003
Location: NJ
Distribution: RHEL5
Posts: 154

Rep: Reputation: 30
can you just change inittab back to level 3?
is:3:initdefault:
?
 
Old 11-04-2006, 02:45 AM   #4
cnm
Member
 
Registered: Nov 2006
Distribution: RHEL 4
Posts: 34

Original Poster
Rep: Reputation: 15
It worked

Quote:
Originally Posted by b0uncer
What do you mean by "getting stuck", do you mean the system locks up when you're trying to boot to runlevel 5? What was the previous runlevel?

If I remember correctly, at the boot prompt just edit the kernel line and add the runlevel number at the end of the line (3 in your case, right?) and boot.
Yes it worked. THANKS
What happened was I changes /etc/inittab to get more Virtual terminals. (Added an 8th line) there after when booting the screen freezes some where after entering run level 5. Now I booted to level 3 and changed that additional line that I had entered.
 
  


Reply


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
emacs in run level 3 then switch to X (level 7) then back to level 3 dsoliver Slackware 3 09-01-2006 03:31 AM
What is run level? ejennings_98 Linux - Newbie 8 11-05-2003 04:46 PM
Run level Joey.Dale Linux - General 4 06-18-2003 04:59 PM
Run Level POWERBOOKM Linux - Newbie 2 12-01-2001 08:44 PM
Booting into level 3 PMMTinker Linux - General 3 08-15-2001 12:16 PM


All times are GMT -5. The time now is 05:34 PM.

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