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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-24-2003, 05:58 PM
|
#1
|
LQ Newbie
Registered: Mar 2003
Posts: 29
Rep:
|
[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!
|
|
|
03-24-2003, 06:01 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
03-24-2003, 06:05 PM
|
#3
|
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142
Rep:
|
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.
|
|
|
03-24-2003, 06:23 PM
|
#4
|
LQ Newbie
Registered: Mar 2003
Posts: 29
Original Poster
Rep:
|
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.
|
|
|
03-24-2003, 07:14 PM
|
#5
|
LQ Newbie
Registered: Mar 2003
Posts: 29
Original Poster
Rep:
|
Adding "single" or "init 3" after "Kernel" line worked!!
Thank you for your help, guys!!
|
|
|
03-25-2003, 01:15 AM
|
#6
|
LQ Newbie
Registered: Mar 2003
Posts: 1
Rep:
|
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

|
|
|
All times are GMT -5. The time now is 08:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|