LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-31-2004, 02:56 AM   #1
elbon1tto
LQ Newbie
 
Registered: Jan 2004
Location: NJ
Posts: 1

Rep: Reputation: 0
Unhappy black screen after install rh9 using nvidia 5200


i just installed Rh9..after installation is complete it seems to run fine...dual boot works fine....after i choose Rh it starts doing a system check with OK on the right side of the screen......after its all done the screen goes black and thats it....i started to read some other forums but i guess i need some step by step help cause i cant make any of it out...I'm using a nvidia 5200 AGP...please sum1 help!!!!!
 
Old 01-31-2004, 09:00 AM   #2
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
You're going to need the nVidia drivers for your card available here most people stand by the 4496 drivers as they seem to have the best compatibility. So since you can't use the graphical interface you're going to have to do it through the Command Line. Don't worry I'll walk you through it.

Step One: Booting into the CLI instead of X

I'm assuming you are using GRUB (I think that's the default boot loader for Red Hat, that's what I used anyway) so when you get to your GRUB boot menu, follow these instructions, I found them on the Red Hat website
Code:
 If you are using GRUB as your boot loader, you can fix the inittab file with the following steps.

    *

      In the graphical GRUB boot loader screen, select the Red Hat Linux boot label and press [e] to edit it.
    *

      Arrow down to the kernel line and press [e] to edit it.
    *

      At the prompt, type 3 and press [Enter].
    *

      You will be returned to the GRUB screen with the kernel information. Press the [b] key to boot the system into the command line interface.
This won't have any problems starting X since it doesn't need to use the card. Everything should boot up find and you will be presented with the
login:
screen. Login as you normall would and su yourself to root.

Step Two: Installing the nVidia drivers

Now what you're going to want to do, (as root) is go to wherever you downloaded the nVidia driver and run this command
$ sh NVIDIA-Linux-x86-1.0-4496-pkg2.run
This will give you a menu, chances are you're going to have build your own Kernel, which, if you don't have the sources could be a problem. Doing
$ uname -r
Will give you your Kernel version, you will then have to find the Kernel sources online and download them. Just search google for Red Hat Kernel Source <version number>. You'll get an rpm file that will install the sources so you'll be ready to go. If you already have the sources installed or nVidia can find a custom kernel whatever on their FTP, then you don't need to do this step. I had to do it, so I'll assume you will. After you have the sources and you've build the kernel module for your graphics card, you're almost there! All you need to do is edit your XF86Config file and you should be ready to go. First you'll want to make a copy of your Config then open up your XF86Config file with vim, by typing this in the CL
$ cp /etc/X11/XF86Config /etc/X11/XF86Config.old
$ vim /etc/X11/XF86Config
This will present you with your current Config file, what you're going to need to do is change the following things (this is copied from the nVidia installer readme)

Code:
If you already have an XF86Config file working with a different driver
(such as the 'nv' or 'vesa' driver), then all you need to do is find
the relevant Device section and replace the line:

        Driver "nv"
    (or Driver "vesa")

with 

        Driver "nvidia"  

In the Module section, make sure you have:

        Load   "glx"

You should also remove the following lines:
      
        Load  "dri"
        Load  "GLcore"

if they exist.
After you do this save your config and try doing startx. Everything should run fine and you should be up in business! Also, if you haven't used vi before you're going to want to skim through this so you don't mess anything up. The most important things are hitting 'i' changes it into INPUT mode, where whatever you type, appears on the screen. Hitting ESC will bring you back into Command Mode, where you would normally Quit, Save etc. After you make all your editing, go back into Command Mode and do SHIFT+ZZ. This will save and close the current document. Hope everything works out for ya!
 
  


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
Black screen after NVIDIA driver install in FC4 dark_prancer Linux - Hardware 10 09-26-2005 06:53 AM
16:10 Wide Screen w/ nVidia GeForce FX Go 5200 helalaoui Linux - Hardware 1 07-15-2004 11:32 AM
Probl. Screen res in widescreen laptop with nvidia Geforce FX 5200 amaya Linux - Software 1 04-13-2004 04:02 PM
Geforce FX 5200 RH9.0 black screen?? Steidart Red Hat 3 02-01-2004 08:32 PM
Newbie needs: 5200 Nvidia on RH9, know nothing about Linux ignorant Red Hat 6 12-30-2003 02:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:18 PM.

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