LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-28-2007, 08:05 PM   #1
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Rep: Reputation: 30
Init run level 1


When ever I tell the system to go to Run level 1, it just gives me a black screen. How do i get a console ?
 
Old 06-28-2007, 10:06 PM   #2
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Init run level 1 is to restart the computer I'm pretty sure, you should try run level 3 to get a console
 
Old 06-28-2007, 10:35 PM   #3
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
In Fedora 4 runlevel 1 is single user, while runlevel6 is reboot.

What happens when you enter "linux 1" at the grub prompt?
What runlevel are you in when you attempt "init 1"?
 
Old 06-28-2007, 11:37 PM   #4
chickenjoy
Member
 
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 217

Rep: Reputation: 30
init 1 is Single User mode, you supposed to be able to login as root automatically in single user mode (obviously)

init 0 = shutdown/poweroff/halt
init 6 = reboot

Quote:
What happens when you enter "linux 1" at the grub prompt?
What runlevel are you in when you attempt "init 1"?
linux 1? you just have to add a "1" at the end, and you will be automatically logged in as root user (single user mode) and receive a bash shell. Useful when you forgot your root password.
 
Old 06-29-2007, 01:38 AM   #5
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Original Poster
Rep: Reputation: 30
This happened in gnome with just an open term. as root i entered init 1 the computer screen goes blank and it just sets there as for entering it at the grub prompt have not tried that yet ill get back with you on that here in a few minutes.
 
Old 06-29-2007, 02:27 AM   #6
chickenjoy
Member
 
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 217

Rep: Reputation: 30
hmm weird, I'm using gnome on a RHEL5 and i got a bash shell = sh-3.1# after it closed all the current services that was running in run level 5 and I went to single user mode. Well changing run levels is similar to restarting the computer, all services are stopped and restarted depending on what has been set using chkconfig.
 
  


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



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 04:31 AM
/etc/X11/xinit/.Xmodmap; run level 4 won't init script Potatopopper Slackware 5 11-27-2005 08:37 PM
changing init level h3htimo Linux - Newbie 5 10-25-2005 12:05 AM
Different Resolution init level 3 ? utw-mephisto Red Hat 4 06-19-2005 07:38 AM
init level settings rufius Linux - General 1 04-29-2003 07:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:31 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration