LinuxQuestions.org
Review your favorite Linux distribution.
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 12-13-2009, 09:31 AM   #1
ngoboyi
LQ Newbie
 
Registered: Nov 2009
Location: Florida, South Africa
Distribution: Fedora Core 12
Posts: 4

Rep: Reputation: 0
How do i boot fedora core 12 from the shell


Good day

Im running fedora core 12 and when i start it goes to the GUI but i would want to start from the shell how do i go about it to redirect it there
 
Old 12-13-2009, 09:37 AM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,172

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
To get a command prompt, press Ctrl + Alt + F1 ( to F6 ) will give you a command line. Same combo + F7 takes you back to the desktop.
 
Old 12-13-2009, 09:37 AM   #3
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
Quote:
Originally Posted by ngoboyi View Post
Good day

Im running fedora core 12 and when i start it goes to the GUI but i would want to start from the shell how do i go about it to redirect it there
Hit "ESC" from keyboard during booting.

Last edited by cola; 12-13-2009 at 09:39 AM.
 
Old 12-13-2009, 09:38 AM   #4
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
Post:
Code:
su
password: 
cat /boot/grub/grub.conf
 
Old 12-13-2009, 09:49 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
If you want to permanently boot in text mode (runlevel 3) you have to edit the file /etc/inittab and change the following (and unique) line by substituting 5 with 3 (see bold number)
Code:
id:3:initdefault:
this is taken from Fedora 10, but it should not have changed in Fedora 12.

If you want to boot in text mode for one session only, you can pass the runlevel to the boot command line. Still in Fedora 10 (but should be similar in Fedora 12), when the grub menu appears, select the fedora you want to boot and in place of pressing Enter, press "a". You should see a line you can edit, e.g. something like
Code:
kernel /vmlinuz-2.6.x-x.xxx ro root=LABEL=/ acpi=on rhgb quiet
add a 3 at the end of the line:
Code:
kernel /vmlinuz-2.6.x-x.xxx ro root=LABEL=/ acpi=on rhgb quiet 3
and press Enter. You will boot in text mode only.
 
  


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
Want to install Korn Shell on Fedora Core 7 tejpatil Linux - Newbie 2 06-14-2007 11:52 AM
Running shell script on Fedora core maheshdf Linux - Newbie 9 11-29-2006 04:50 AM
Fedora Core 6 Shell Commands bob3dan Fedora 1 11-19-2006 07:44 PM
Accessing SHELL? in Fedora Core 3 MrFett Linux - Newbie 5 03-18-2005 11:57 AM

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

All times are GMT -5. The time now is 09:12 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