Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-24-2003, 06:58 PM   #1
LQ Newbie
Registered: Mar 2003
Posts: 29

Rep: Reputation: 15
Question [RedHat 8.0]How can I force it to boot in text mode before logging in?

Hi, I'm a complete and clueless.
I have been searching for a way to boot my RedHat in text mode all day.

My problem is, I changed my display setting to something my video card can't handle, so whenever I go to the login screen, it shows complete garbage. Since I set it to boot in graphic mode, I cannot login at all. So I can't edit the config file to fix this problem.

Is there any way to boot in text mode?
I searched for "Booting-commands" but I couldn't find anything.
I hope there's a way to get in text mode by entering booting-command or keyboard shortcut.

Thanks in advance!
Old 03-24-2003, 07:01 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
If you have a lilo-prompt try to pass "init 3" or "init 1"
as a parameter to the kernel you're booting...

Old 03-24-2003, 07:05 PM   #3
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
If it boots up with LILO, when it says "boot:", type in "linux single", or single after whatever your normal title is.

If it boots up with GRUB, select the linux entry, and type "e" to edit. Select the line that starts with "kernel", and type "e", again. At the end of the line, add a space and "single". Hit [enter] to get back to the main GRUB menu, and type "b" to boot.

This will boot you into single-user mode. It's a runlevel for root to do system maintenance. You can then edit your config files. Or, better yet, edit /etc/inittab to change the default runlevel from 5 to 3. This will set your computer to boot to text mode. You can then get to X with startx.

If you use GRUB, you might have to re-edit as above to remove the "single" to boot to your normal runlevel.
Old 03-24-2003, 07:23 PM   #4
LQ Newbie
Registered: Mar 2003
Posts: 29

Original Poster
Rep: Reputation: 15
Wow thank you very much for quick replies!!
Yes, it boots up with GRUB (this is RedHat's default bootloader, right?)
I'm going to try it from now on and see if I can fix it.
Old 03-24-2003, 08:14 PM   #5
LQ Newbie
Registered: Mar 2003
Posts: 29

Original Poster
Rep: Reputation: 15
Adding "single" or "init 3" after "Kernel" line worked!!
Thank you for your help, guys!!
Old 03-25-2003, 02:15 AM   #6
LQ Newbie
Registered: Mar 2003
Posts: 1

Rep: Reputation: 0
Hi dear,

Solution to ur prob:

Just go in /etc/inittab file and there u will find one line something like this
just make 3 instead of 5, these r the runlevels in which linux runs on bootup


3=test only with multiple users

for more details refer 'man inittab'

or if any doubt mail me

ok happy linux journey

Tux buddy
Vishal Soni


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
make redhat boot to text rather than graphical mode duderancher Linux - Newbie 3 10-25-2005 01:18 PM
Logging into text mode defaulty abhis_mail2002 Fedora 9 08-30-2005 05:41 AM
Force linux to boot in single processor mode dlnlinux Linux - Newbie 2 08-05-2005 03:53 PM
Switching RedHat to boot into Text Mode quordandis Linux - Newbie 1 09-12-2003 08:13 PM
Logging in with text mode ... what happened to the GUI? orange400 Linux - General 1 03-02-2003 09:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration