LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-07-2005, 10:24 PM   #1
phatbastard
Member
 
Registered: Mar 2004
Location: Houston, Texas
Distribution: Kubuntu, zenwalk
Posts: 117

Rep: Reputation: 15
init runlevel problem


I edited my initab to start using entrance but looks like i copiled entrance wrong. I had set my runlevel to 4 and now i cant get it to go back to runlevel 3 to edit anything. I have tried ctl-alt-f3 with no luck. I cant seem to get it to go into runlevel 3 it just kinda hangs at runlevel 4 with a black screen. How can I get it back to runlevel 3. Is there a way with one of the install discs? or something else? i need to edit what i screwed up but i need runlevel 3 so i can use nano...
 
Old 12-07-2005, 10:36 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
By default on runlevel 4, only console 6 is enabled (CTRL+ALT+F6)

You can try entrance without running runlevel 4, just run it from level 3, if it works, edit inittab
 
Old 12-07-2005, 11:09 PM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 10.04, Crunchbang Statler
Posts: 3,325

Rep: Reputation: 168Reputation: 168
Try one of the other function keys (F1, F2, .. F6) in combination with <ctrl><alt>.
If that does not work, start your machine in single user mode.
To do so, reboot your machine. When the lilo screen appears, type the label-name that you use to start linux (on a standard Slackware 10.0 box it's Linux) followed by single and press <enter>.

Last edited by Wim Sturkenboom; 12-07-2005 at 11:36 PM.
 
Old 12-07-2005, 11:27 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 10,468

Rep: Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627
If you run grub, interupt the boot, edit the kernel line and add the runlevel at the end. Then enter the "boot" command.

If you use lilo - SOL.
 
Old 12-08-2005, 12:51 AM   #5
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
If you boot to runlevel 4, you are in runlevel 4 (seems obvious enough). Ctrl-Alt-F3 does not take you to runlevel 3, it switches you to Vt3 (Virtual Terminal 3). As gbonvehi points out, there is Vt3 on runlevel 4, only Vt6 and of course Vt7 (your X server).

So if you just need a terminal: Ctrl-Alt-F6

If you need to change to runlevel 3: telinit 3

Note that what I am telling you is that there is no need for re-booting. Single-user mode is "telinit 1". Multi-user (no X) is "telinit 3". Multi-user (with X) is "telinit 4". No need to go around editing stuff and rebooting just to get a new runlevel.

Bonus info: You can't install the Nvidia driver with X running. This is one good time to "telinit 3" if you usually boot to runlevel 4.

Also, you can run nano from runlevel 4. Use a terminal emulator (xterm, gnome-terminal, etc.). Or just use Vt6 (like gbonvehi recommended).
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
debian runlevel init 3 joyman555 Linux - Software 10 04-15-2008 01:47 AM
INIT: no more processes left in this runlevel netsina Red Hat 3 07-04-2005 03:21 AM
Init and runlevel commands CliffLandin Linux - General 2 11-22-2003 05:01 PM
INIT: no more processes left in this runlevel ..:eMa:.. Linux - Newbie 8 10-29-2003 11:49 AM
init runlevel adam171771 Linux - General 3 07-05-2001 09:02 PM


All times are GMT -5. The time now is 06:09 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
Open Source Consulting | Domain Registration