Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-20-04, 03:09 PM   #1
bekker
Registered User
 
Join Date: Jun 2004
Posts: 4
Default how to install the nvidia drivers for two kernels

Hi group,

I am often switching between two kernels (a 2.4.x and 2.6.x). I have not been able to install the Nvidia drivers for both kernels. If I run the installer for one kernel it always destroys the installation for the other.

Can anyone tell me how to avoid this problem.

thanks

Chera
bekker is offline   Reply With Quote
Old 08-20-04, 03:48 PM   #2
andyrock
Registered User
 
andyrock's Avatar
 
Join Date: Jan 2004
Location: EU / Portugal
Posts: 110
Talking Re: how to install the nvidia drivers for two kernels

Code:
NVIDIA-Linux-x86-1.0-6111-pkg0.run -K --kernel-source-path=/path/to/kernel/source
the '-K' switch installs the kernel interface only. I don't remember if it removes the other one, but i think it doesn't.

If this doesn't work, backup the nvidia module for the first kernel, install the second one, and restore the first backup.
__________________
AndyRock

--
1. Toshiba M30-742 | Centrino/Pentium-M 1700mhz | Geforce FX 5200Go
2. Celeron (Tualatin) 1400mhz | Geforce Ti 4800SE
andyrock is offline   Reply With Quote
Old 08-20-04, 11:48 PM   #3
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default Re: how to install the nvidia drivers for two kernels

Or, use the --extract-only option to produce the source directory, then cd ./usr/src/nv and make module, then copy the created nvidia.ko to your kernel's modules directory (probably /lib/modules/`uname -r`/kernel/drivers/video).
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 08-21-04, 06:14 AM   #4
bekker
Registered User
 
Join Date: Jun 2004
Posts: 4
Default Re: how to install the nvidia drivers for two kernels

Thanks for the suggestions. I'll give it a try.

Lord Morgul, shouldn't I do a depmod after copying the nvidia.ko file?

regards

Chera
bekker is offline   Reply With Quote
Old 08-22-04, 01:23 AM   #5
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default Re: how to install the nvidia drivers for two kernels

Yes, you should. Then the module should load with modprobe (or insmod).
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 08-22-04, 07:16 AM   #6
bekker
Registered User
 
Join Date: Jun 2004
Posts: 4
Default Re: how to install the nvidia drivers for two kernels

Succes! I tried running the installation file with -K switch and it worked. Now I have Nvidia drivers for both the 2.4 and 2.6 kernel.

Thanks to all who replied.

Chera
bekker is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
NVIDIA, please release updated 290.xx drivers for new kernels and X.org versions artem NVIDIA Linux 19 08-25-12 09:02 AM
How to quickly Install NVIDIA R302.11 Drivers Under Linux Mint 13 News Archived News Items 0 06-12-12 06:40 AM
Radeon 9700 not all that? sancheuz Other Desktop Graphics Cards 200 10-12-02 09:31 PM
Red Hat null(limbo beta 3), guide to install Nvidia Drivers utiel NVIDIA Linux 21 09-30-02 05:32 PM
NVIDIA drivers won't install... Dnzauker NVIDIA Linux 6 09-12-02 06:47 AM

All times are GMT -5. The time now is 08:11 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.