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 03-20-2011, 04:24 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Rep: Reputation: 31
How to access prompt ?


hi,
I am using fedora on my home pc. Due to some reasons fedora is does not show my GUI interface. I want to access my shell prompt.Kindly guide me that how can I access my system at prompt so I may troubleshoot my system
thanks,
garden
 
Old 03-20-2011, 04:31 AM   #2
ZenKen
LQ Newbie
 
Registered: Mar 2011
Distribution: Personal use: Gentoo or Archlinux, Production environments: CentOS or Debian
Posts: 9

Rep: Reputation: 4
Re: How to access prompt ?

Gardenair,
What is it exactly that you see on your screen? Is it just blank? It could be that X is running, but froze. If so, try pressing CTRL-ALT-F1 to switch to tty1.
If that doesn't help, post some more information. What Fedora are you running? What architecture? What window manager are you using?
 
Old 03-20-2011, 04:36 AM   #3
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

If you have your inittab set to boot default into the graphic environment and it's not showing you can access another text console by pressing CTRL-ALT-F1, F2, F3, F4, F5, F6. All of those are assigned text consoles. Only the CTRL-ALT-F7 is connected to the graphical console. So enter in any of the other ones, fix what's wrong, check errors and go back to CTRL-ALT-F7 to see if it's working.

Kind regards,

Eric
 
Old 03-20-2011, 04:38 AM   #4
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Original Poster
Rep: Reputation: 31
I am using fedora 7 on my home pc. Actually I have download a software in my hard disk and i am sure after that there is no space in the hard disk .
I have tried all things .I want that when the system just boot i gain access of the prompt and delete unwanted software in my /home partition
please guide me that when the system just boot how can i switch to runlevel 1 instead of runlevel 5.
thanks
 
Old 03-20-2011, 04:41 AM   #5
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

If your disk is full, you can still get access to your system as root to fix the problem. To boot into single runlevel just select at boot the recovery option. That should boot you into maintenance mode / single user mode and after providing the root password you can do what you need to do.

Kind regards,

Eric
 
Old 03-20-2011, 04:43 AM   #6
ZenKen
LQ Newbie
 
Registered: Mar 2011
Distribution: Personal use: Gentoo or Archlinux, Production environments: CentOS or Debian
Posts: 9

Rep: Reputation: 4
Gardenair,

Reboot your machine (if necessary, do a cold reboot).
When you see the bootloader (I'm presuming you're using Grub), hit escape to stop the countdown. Select the item that usually boots, and press "e", this should bring up the commands that grub runs when booting that item. Look for the line that has "kernel" at the beginning, now add "single" to the end of it. Now press enter to commit the changes and then press "b" to boot.

This will bring you into the single user boot level, and give you a simple shell.

EDIT: If you have a 'rescue' option, as EricTRA specifies, obviously use that instead.

- ZenKen

Last edited by ZenKen; 03-20-2011 at 04:49 AM.
 
Old 03-21-2011, 12:12 PM   #7
bsat
Member
 
Registered: Feb 2009
Posts: 347

Rep: Reputation: 72
another option you cant try is using a live cd.
You can mount any of your partitions in the live cd once it boots and delete the required files.
 
Old 03-21-2011, 08:22 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
You should be able to use the install media by typing in

linux rescue

at the initial screen (when it asks what you want to do). BTW, F7 is 7 versions behind/out of date/unpatched !
 
  


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
[SOLVED] Limit sudo access - No Password Prompt idny Linux - Security 6 02-18-2011 10:49 PM
password prompt twice -> can't use have ftp access to this machine abdoullah Gentoo 2 10-03-2009 11:56 PM
how to access X11 server from command prompt Icode4food Linux - Newbie 4 06-02-2008 10:34 PM
KDE prompt for root access won't recognize password portamenteff Linux - Newbie 2 11-28-2006 12:51 PM
Newbie:how to access command prompt marlon2006 Linux - General 6 05-06-2006 06:01 AM


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