LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   The easiest way to install Nvidia driver under RedHat (https://www.linuxquestions.org/questions/linux-software-2/the-easiest-way-to-install-nvidia-driver-under-redhat-95535/)

suro 09-22-2003 11:30 AM

The easiest way to install Nvidia driver under RedHat
 
Hi Guys!
I want to teach you the easiest way installing nvidia drivers on RedHat

As known the NVIDIA-Linux-x86-x.x-xxxx.sh driver tells us that you must have your X server stopped.
The easiest way to stop the X server is to modify the XF86Config file the way i'm gonna tell you!

1. We must modify the XF86Config file
open up console and type
cd /etc/X11/ then open your favorite text editor for example i use mc (midnight commander) open the XF86Config file and search for theses lines

Section "Device"
Identifier "Videocard0"
Driver "nv"
Vendor Name "Videocard vendor"
BoardName "RIVA TNT2" //this is an example!
Video Ram 32768
EndSection

Now change the driver name "nv" to whatever you want for example we will write "nocard" . Restart your linux system now the X server won't start. And now you can install the driver.

login as root and type

sh /path/to/nvidia/driver/NVIDIA-Linux-x86-x.x-xxxx.sh

after the installer has completed you must open your favorite text editor and edit the same XF86Config file by changing the driver name "nocard" to "nvidia" and by removing the following line
Load "dri" the installer may tell you to remove also another line which i didn't find in my XF86 config file so if you find that line you may also delete it. Now restart your system you must see the nvidia splash screen when the X server starts!f
That's all guys hope i've helped you


All times are GMT -5. The time now is 09:54 PM.