LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-21-2003, 08:54 AM   #1
mandrakerookie
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Rep: Reputation: 0
Command Line Kernel and Nvidia Driver Install


Hi. I'm a total newbie and am trying to install nvidia drivers for mandrake 9.2 - i've read all the posts that say i need to download the newest kernel and install that, then download and install the nvidia drivers. I need someone to take a few seconds to explain exactly how this is done from the command line.

1. where can i download the latest kernel via ftp\
2. what do i type at the command line in order to install this once i get it?
3. after this i "sh nvid***" - and should be self explanatory from there, right?

thx in advance
 
Old 12-21-2003, 09:49 AM   #2
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 570

Rep: Reputation: 30
1. The ftp sites is http://www.nvidia.com/object/linux_d..._ia32_1.0-4496
2. Check to see if you have the latest kernel source. Do a alt-cnt-f2 and check the running kernel number against the one in /usr/src
if they are not the same or is missing download the correct one.
3. when the nvidia driver are downloaed type in sh NVIDIA-Linux-x86-1.0-4496-pkg2.run
and follow the instruction on the screen.
Make shur that the gui is not running. in root type in init 3
When finsihed installing type in init 5 or reboot
 
Old 12-21-2003, 10:01 AM   #3
mandrakerookie
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Original Poster
Rep: Reputation: 0
thanks for the response - now i'm getting "unable to find the system utility 'ld'" within the nvidia driver install. How do i deal with this? i don't know what it is, where it is, or how to install. also, my kernel is 2.4.22-10mdksmp - running on a dual p3 933 box - is this the right one? Thanks again.
 
Old 12-21-2003, 10:06 AM   #4
mandrakerookie
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Original Poster
Rep: Reputation: 0
also i don't see a kernel number in usr/src. do i need to do anything to find it? sorry, i'm a rookie. i'm guessing i should download, but need to do via ftp on my linux box because windows seems to corrupt any file i download for the linux box. do you know of an ftp site where i can download the kernel at the command line in linux? I'm having trouble finding. Thanks again.
 
Old 12-21-2003, 01:08 PM   #5
rkngl
LQ Newbie
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 10
Posts: 18

Rep: Reputation: 0
Your kernel source code should be in /usr/src/linux-<kernel version>. If it's not, either install it from your distro CDs or download it. Being a modem user, i'd recommend you grab it of your distro CDs.

ld is the GNU linker, a programming tool. I'm guessing you're compiling a new kernel interface. This means you need the development tools installed (also from your distro CDs).
 
Old 12-21-2003, 03:31 PM   #6
mandrakerookie
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Original Poster
Rep: Reputation: 0
the kernel is apparently not installed. can you tell me how to install from the distro cd? i don't know where it is or what to type or where to put it. thx
 
Old 12-21-2003, 06:35 PM   #7
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
Quote:
Originally posted by mandrakerookie
the kernel is apparently not installed. can you tell me how to install from the distro cd? i don't know where it is or what to type or where to put it. thx
mandrake 9.2 does not have the source on the cd... you have to download it
 
Old 12-21-2003, 07:34 PM   #8
mandrakerookie
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Original Poster
Rep: Reputation: 0
ok. downloaded it. now what? Anyone? Please be specific. I've never done this before.
 
Old 12-21-2003, 09:34 PM   #9
mandrakerookie
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Original Poster
Rep: Reputation: 0
ok. it says the kernel is already installed when i rpm -ivh kernal*** , then when i try to install nvidia drivers it says "no precompiled kernel interface was found". any clues? anyone?
 
Old 12-21-2003, 09:47 PM   #10
happyfoosball
LQ Newbie
 
Registered: Dec 2003
Location: roxor land
Distribution: mandrake 9.2
Posts: 5

Rep: Reputation: 0
I didn't install the new Kernal and i'm using the Nvidia drivers. I just went to their site and installed them. They work fine. All I did was the following

1. Went to http://www.nvidia.com
2. Downloaded the Linux ia-32 drivers
3. set Xfree not to boot using the mandrake configuration utility
4. Logged in as root then navigated to my documents folder (where i saved the file)
5. sh (filename)
6. Then it tells you to go view a readme file and change it. You must do this as root
7. Locate the file, (I did this using xfree as root, I know it's not good to do but i'm not familar with the text based editors other then kwrite).
8. Changed the driver from "nv" to "nvidia"
9. I didn't have to do the other two steps but they are located in the readme file so just read it.
10. Rebooted, logged in to my username and typed in "startx" and I was off and running.
 
Old 12-22-2003, 04:00 PM   #11
Dr. Ephemeron
Member
 
Registered: Oct 2003
Distribution: Mandrake 10.1 & Fedora Core 4
Posts: 84

Rep: Reputation: 15
Quote:
Originally posted by mandrakerookie
ok. it says the kernel is already installed when i rpm -ivh kernal*** , then when i try to install nvidia drivers it says "no precompiled kernel interface was found". any clues? anyone?
That is correct, no precompiled kernel interface is found! It then asks you if you want to download one from NVidia and you can try it, but if it can't find one then you choose to compile a new interface. Then it compiles one automatically for you.

Then in /etc/X11/XF86Config-4 you change Driver "nv" to Driver "nvidia". Make sure you also have Load "glx".

*Remove* Load "dri" and Load "Glcore"

Enjoy

Last edited by Dr. Ephemeron; 12-22-2003 at 04:01 PM.
 
Old 12-23-2003, 01:23 PM   #12
mandrakerookie
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Original Poster
Rep: Reputation: 0
thanks guys. that seems to have worked.
 
  


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
SiS Driver install from command line! perrin457 Mandriva 1 02-09-2005 05:34 PM
Nvidia Driver Install/Kernel Source Problem Brian of Gep Debian 6 03-14-2004 06:27 PM
Install NVIDIA driver on kernel v. 2.4.18 J_Szucs Linux - Hardware 3 03-06-2004 03:11 PM
How do I install 9600Pro driver for Mandrake 9.2 from the root command line?? StlthMd Linux - Newbie 6 01-07-2004 11:39 PM
nVidia Driver won't install because Kernel Headers are missing...Whats that me then? Stevetgn Linux - Newbie 3 08-24-2003 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration