Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General > Member Success Stories
User Name
Password Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.


  Search this Thread
Old 03-27-2003, 11:23 AM   #1
Registered: Jan 2003
Distribution: Gentoo(Server) Ubuntu(desktop/laptop)
Posts: 63

Rep: Reputation: 15
Lightbulb installing Nvidia drivers from .tar.gz

My reasoning to writing this is to fill in the blanks that may be in question for those source installers. Fingel's guide is an awesome .rpm installation guide for your rpm install needs.

NOW, to the fun part.

this is intended for the non .rpm using distro's ect. mainly slackware

NOTE=(this is the way I do it and I have yet to have a problem)
(the commands are located in "" brackets, thats what you will type)
(when I refer to /home/user I am referring to your user directory. mine is mitch so I would go to /home/mitch/)
(the txt editor I use is pine's pico , if you use vi do so respectivly)

first go to the nvidia website and grab the newest drivers
This is for the TNT2 - GeForce 4 (maybe GeForce FX) get the IA32

Download the kernel and GLX drivers

for those with the IA64 people (you know who you are)
or the AMD64 get their respective drivers from

ok so now that you have them downloaded let say in your /home/user/ dir (assuming this) first this we need to do is set your inittab to runlevel 3 or the equivilant of multiuser mode. this setting is located at /etc/inittab/
make it look like
to edit it open a console and su to root. then type "pico /etc/inittab" go down and edit that initdefult.

now we need to check to see if you have your kernel source installed. if not no biggie, to check open up a console and type "cd /usr/src/linux"
if you get (cd: /usr/src/linux: No such file or directory) then try "cd /usr/src/linux-2.*) and if you get the same No such file or directory then we will need to install it. you can do either of 2 things, one you can go to the and download YOUR kernel only not a new one unless you want to upgrade, but we will do that in my next HOWTO
The other option is to get it off your install cd. on my slackware cd it's located in /mnt/cdrom/slackware/k/kernel-source-2.4.18-noarch-4.tgz
install the package (assuming you know how) then it will place it in your /usr/src/linux-2.4.18 dir. now we need to creat a link to help our install along
open a console and su to root. now type "ln /usr/src/linux-2.4.18 /usr/src/linux"
this is assuming you are using kernel 2.4.18 if not change the command to reflect YOUR kernel. PHEW any problems with that step lmk.

now restart
when you get to the login screen type
(enter password) then hit enter
then go to the directory where the drivers are located
"cd /home/user" (assuming this is wher you downloaded them to)
not sure if they are there type "ls" to see if they are there
now we will untar them.
"tar -xzvf NVIDIA_kernel-1.0-4191.tar.gz"
"tar -xzvf NVIDIA_GLX-1.0-4191.tar.gz"


now we will cd to their respective directory's. Nvidia says install the Kernel driver frist ok so we will.
"cd NVIDIA_kernel-1.0-4191"
now for the installation
"make install"
it should finish without error (if you get one report it to the forums
now we will cd to the GLX driver dir
"cd /home/user/NVIDIA_GLX-1.0-4191"
now for the installation
"make install"
this should finish without errors also.

GREAT almost done

now we need to edit out a few lines in your XF86Config file located in /etc/X11/

now that all the installing is done lets wrap this up with a quick
"pico /etc/X11/XF86Config"
scroll down to the (Section "Module") portion this is near the top
in that section go down to the GLX module part make sure it looks like this and no exceptions.
# This loads the GLX module
Load "glx"

ok now we are going down a little the portion called
# Graphics device section

the only part we are going to edit is the part where it says
Section "Device"
Driver "nvidia" #change it to "nvidia" instead of "nv"
so the end result should look like this

Section "Device"
Identifier "GeForce3 Ti500"
Driver "nvidia"
#VideoRam 64968
# Insert Clocks lines here if appropriate

ok lets recap we changed it to say load "glx" only and changed the driver strain to say "nvidia" instead of "nv"

great we are all but a startx away from being finished.
now type
you should see a white screen with the nvidia logo on it then it will go to your defult WM. if it worked kudos to you

now to go back to your inittab settings and change it back to 4 or 5 depends on your distro in slack it's 4.
in a console su to root
then type "pico /etc/inittab/"
change the runlevel to
now you are done. give your self a had as you are one step closer to becoming a guru

Thanks for reading

Last edited by MitchM99; 03-28-2003 at 10:51 PM.
Old 03-28-2003, 01:13 AM   #2
Registered: Feb 2003
Distribution: Latest Ubuntu
Posts: 161

Rep: Reputation: 30
Wow. good job mitch. Between our two installation guides we should recieve a LOT less Nvidia questions. I hope : \
Old 03-28-2003, 10:54 AM   #3
Registered: Jan 2003
Distribution: Gentoo(Server) Ubuntu(desktop/laptop)
Posts: 63

Original Poster
Rep: Reputation: 15
that's my goal, thanks for the complament my next howto is a full proof audigy driver setup and howto get the cd player working and everything or maybe just a kernel recompilation . who knows what I may feel like doing as I have 2 more weeks till basic and I want to make good use of them as 7 weeks w/o linux will kill me LOL

well, lata

Old 03-28-2003, 06:47 PM   #4
Registered: Feb 2003
Distribution: Latest Ubuntu
Posts: 161

Rep: Reputation: 30
Yeah! Do it on how to get the CD player to work. I mean, uhh, its not like I dont know how.... I dunno what I'll write about next. I'll come up with something. Probably enabling NTFS support. Oh yeah I added a link to your post in mine so that people wont get confused talk to ya later
Old 04-01-2003, 06:05 PM   #5
LQ Newbie
Registered: Mar 2003
Posts: 24

Rep: Reputation: 15
howdi ... just wanted to sy thanx for the howto ... gatta love it when a linux user dosent say to me 'man it' .. he .. anyways im ahving a prob linking my /usr/src/linux-2.4.20 /usr/src/linux using slack 9 btw .... i tried this be4 also and it gives this error ...

root@blu:/usr/src# ln /usr/src/linux-2.4.20 /usr/src/linux
ln: `/usr/src/linux-2.4.20': hard link not allowed for directory

i dont have a linux dir in /usr/src also dont know if i had to make one which i tried be4 also but that didnt work either by making one then linking it .... it would make a ln -s but that just maked a locked file of linux-2.4.20 in the linux dir ... so any help would be appreiciated ....
Old 04-11-2003, 03:28 AM   #6
LQ Newbie
Registered: Feb 2003
Posts: 23

Rep: Reputation: 15
i got the error insmod nvidia failed
make: *** [package-install] Error 255

what must i do??
Old 06-09-2003, 07:20 PM   #7
LQ Newbie
Registered: Feb 2003
Location: Atlanta, GA
Distribution: Slackware; Debian; FreeBSD; Plan 9;
Posts: 13

Rep: Reputation: 0
This is what I get when I try running 'make install' for the nvidia kernel part:

bash-2.05b# make install

You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that was used to compile
the running kernel. This may be perfectly fine, but there
are cases where this can lead to unexpected behaviour and
system crashes.

If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.

In any other case, set the CC environment variable to the
name of the compiler that was used to compile the kernel.

*** Failed cc sanity check. Bailing out! ***
make: *** [gcc-check] Error 1

Any ideas?
Old 06-10-2003, 06:15 PM   #8
LQ Newbie
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 7

Rep: Reputation: 0
i have the same problem

Even though i suppose that the cause of this problem is that i am a complete newbie the problem still remains.
If you actually find out how to do it could you please let me know ?
Old 06-12-2003, 06:07 AM   #9
LQ Newbie
Registered: Jun 2003
Posts: 3

Rep: Reputation: 0
I'm grateful that you open my urgent email.My trouble is: after I finished installing the Linux,it could boot well with Window Me.But one day,we I power up my computer,the boot just failed unwarningly.It just give me a black screen with GRUB configuration which I didn't know how to operate.Then every time I restarted the computer,it just gave me the same black screen with the same damn GRUB,my Linux and Window Me couldn't boot normally .I simply didn't know what had I done wrong.So I reinstalled Window XP Pro.Luckily It worked,but my Linux missing.I used to run PartitionMagic 8.0 to exam if my ext3 partition had corrupted,but it remained ok,which convinced me that there must be something wrong with the bootloader.It might be that after my installing the WinXP the WinXP's bootloader had overlapped the GRUB or LILO,so no matter I'm right or not ,Please show me the right way out.YOU ARE MY ONLY SAVIOR !!!!!THANX.

Old 12-10-2003, 03:36 PM   #10
Registered: Apr 2003
Location: Underground
Distribution: Slackware
Posts: 103

Rep: Reputation: 15
i did just as the topic told me to do, but when i have installed kernel, GLX, and the other things without an error, then when i go to edit the XF86Config, there just generic vesa and when i change it then the X wound start up... what am i duing wrong _
Old 12-11-2003, 08:48 AM   #11
Registered: Jan 2003
Distribution: Gentoo(Server) Ubuntu(desktop/laptop)
Posts: 63

Original Poster
Rep: Reputation: 15
alright.. firstly please describe exactly what you did and what errors you get and what you did. did you have to install the kernel? where did it error on you.


p.s. this is an older help guide. The drivers are now installed with a script so that will take a installation process.


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
Installing nVidia Drivers icisyd Linux - Newbie 7 03-31-2010 04:50 PM
Installing NVIDIA drivers iqbala Mandriva 4 11-04-2005 07:23 PM
Installing nvidia drivers from nvidia website on mepis 3.3 xbennyboy Linux - Hardware 4 04-23-2005 10:19 AM
Installing NVIDIA drivers Feldon Linux - Newbie 2 09-19-2004 10:11 PM
Installing Tar.gz, Video Card Drivers in RedHat 7.0!!! RedHatMN Linux - Newbie 4 03-26-2001 12:36 PM > Forums > Linux Forums > Linux - General > Member Success Stories

All times are GMT -5. The time now is 10:57 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration