LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-14-2004, 05:33 AM   #1
bstrik
LQ Newbie
 
Registered: Sep 2003
Location: Netherlands
Distribution: Slackware-current 32-bit
Posts: 13

Rep: Reputation: 0
Wink nvidia grafic driver solution running multiple kernels


I finally found the solution for running the nvidia grafic driver with multiple kernels.

Here are my steps:

1. boot with the new kernel.
2. go to the following directory : /lib/modules/OLDKERNELVERSION/kernel/drivers/video
replace OLDKERNELVERSION with your own specific settings
3. make a copy of the old driver: cp nvidia.(k)o nvidia.(k)o.old
4. run the nvidia installer
this will create the new driver in /lib/modules/CURRENTKERNELVERSION/kernel/drivers/video
5. in the same directory as mentioned under 2 do a rename to the original name
mv nvidia.(k)o.old nvidia.(k)o

Now you should have a working driver with both kernel versions.

Last edited by bstrik; 05-14-2004 at 01:14 PM.
 
Old 05-14-2004, 06:12 AM   #2
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Great. will try that out the next time I reboot.
 
Old 05-14-2004, 06:05 PM   #3
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
I've heard about a -K option to add in the command line. Did someone used it?
 
Old 09-02-2004, 09:20 AM   #4
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Rep: Reputation: 30
So, you are essentially hiding the old module from the Nvidia Installer so it can't be deleted.
I guess you have to do this each time you run the installer for a new kernel. Couldn't you just remove write privelages?
 
Old 09-02-2004, 10:19 AM   #5
insyte
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 308

Rep: Reputation: 30
After a recompile I just

sh NVIDIA-* -K
(BTW that's a capital K)

and all my kernels will have nvidia. I have 2.6.8.1, 2.6.7 and 2.4.26 still ready to run under GRUB.
 
  


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
nvidia trouble with multiple kernels slackware 10.1 salviadud Slackware 8 07-20-2005 07:48 PM
Running Multiple Kernels unosaso Slackware 2 04-05-2005 11:50 AM
nvidia driver for multiple kernels Cornholio Linux - Hardware 4 04-02-2005 01:35 AM
NVidia driver with different kernels theonebeyond Linux - General 2 11-22-2004 11:13 AM
Nvidia drivers with multiple kernels linuxhaxz Slackware 9 05-24-2004 02:36 PM

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

All times are GMT -5. The time now is 07:46 AM.

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