LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-24-2003, 05:58 PM   #1
digsy
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, 06:01 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,973
Blog Entries: 11

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

Cheers,
Tink
 
Old 03-24-2003, 06:05 PM   #3
ranger_nemo
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, 06:23 PM   #4
digsy
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, 07:14 PM   #5
digsy
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, 01:15 AM   #6
justvsoni
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
id:5:initdefault:
just make 3 instead of 5, these r the runlevels in which linux runs on bootup

id:3:initdefault:

3=test only with multiple users
5=graphical

for more details refer 'man inittab'

or if any doubt mail me

ok happy linux journey

Tux buddy
Vishal Soni
 
  


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


All times are GMT -5. The time now is 07:29 AM.

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