LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-02-2010, 04:12 PM   #1
memysabu
LQ Newbie
 
Registered: Mar 2010
Posts: 17

Rep: Reputation: 0
Question Fedora 12, how do I boot to command line?


Having some issues here. Ive always had horrible luck doing any kind of updates to my system. I let it auto install the security updates lastnight. Today when I rebooted the machine it just hangs. I would like to attempt to boot only to a command prompt so that I can atleast use vi to edit files and fix the system. Do I have to edit grub to do this or is there keys I can press during boot up? Thanks!
 
Old 03-02-2010, 04:29 PM   #2
memysabu
LQ Newbie
 
Registered: Mar 2010
Posts: 17

Original Poster
Rep: Reputation: 0
I am booted up on a fedora 12 live cd right now. I guess my second question would be is there a way for me to edit the files on my main drive (sata)? Maybe I can just fix it without booting to a command line. Every mount command Ive tried hasnt worked. I know the drive is fine its the configuration that got messed up.
 
Old 03-02-2010, 04:31 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Interrupt the boot coutdown - any of the arrow keys will do.
Highlight the Fedora entry and hit "e" to edit - same again on the kernel line. Add the character 1 to the end of the line to come up in single user mode. I would also remove the "quiet rhbg" so you can see the boot messages.
One-time change - doesn't affect normal boots.
 
Old 03-02-2010, 04:32 PM   #4
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650

Rep: Reputation: 79
edit /etc/inittab

Change "5" to "3" in the following line:
id:5:initdefault:

or to just switch to runlevel 3 for just that session, you can type from terminal init 3

nevermind, just read where this was a live cd
 
Old 03-02-2010, 04:54 PM   #5
memysabu
LQ Newbie
 
Registered: Mar 2010
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you for the quick replies. Im a newb when it comes to troubleshooting boot in linux but experienced in everything else :/ I never quite tackled grub but I can get it working thanks to your suggestions now =)
Getting my learn on today. I did reboot and found out what was causing the issue. It appears wine is trying to register the binary handler for windows applications, screen flashes a few times then enteral hang. Im going to run off to find a forum to post that issue on next lol. However if I could just remove wine from the boot all together I could uninstall it and play with the install at a later date. Im guessing the boot info would be in rc.d or init.d for fedora? Thanks again for all of your help guys. Im also getting my google on today, but the internet is not what it used to be. Used to you could google and actually get your answer. Now days its 50,000 spam pages mixed with what you need =\
 
Old 03-02-2010, 06:52 PM   #6
memysabu
LQ Newbie
 
Registered: Mar 2010
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
Interrupt the boot coutdown - any of the arrow keys will do.
Highlight the Fedora entry and hit "e" to edit - same again on the kernel line. Add the character 1 to the end of the line to come up in single user mode. I would also remove the "quiet rhbg" so you can see the boot messages.
One-time change - doesn't affect normal boots.



Thank you sir worked perfectly! I am now back up and running. Luckily I have strong command line kung-fu

Just did a

ifconfig eth0 up
ifconfig eth0 192.168.1.xxx
dhclient eth0

yum erase wine
yum update

Reboted and am up and running. Thank you for answering my question its hard to get help these days

Last edited by memysabu; 03-02-2010 at 07:59 PM.
 
  


Reply



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
fedora dual boot goes to grub command line jaus10 Linux - Newbie 1 01-27-2009 06:17 PM
Dual boot, XP works Fedora goes to command line. Just Jon Linux - Newbie 5 04-05-2007 01:39 AM
How to boot into command line on Fedora Core 2? DeepSPiN Fedora 3 08-25-2005 12:24 AM
Blank Screen after Suse Boot - HowTo boot from grub to command line benco420 Linux - Newbie 3 02-13-2005 05:50 AM
mandrake 10 command line to gui boot, then stuck at boot with hour glass chris008 Linux - Laptop and Netbook 1 11-14-2004 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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