Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-14-2004, 06:33 AM   #1
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 02:14 PM.
Old 05-14-2004, 07:12 AM   #2
Senior Member
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

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

Rep: Reputation: 95
I've heard about a -K option to add in the command line. Did someone used it?
Old 09-02-2004, 10:20 AM   #4
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, 11:19 AM   #5
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.7 and 2.4.26 still ready to run under GRUB.


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

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

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
Open Source Consulting | Domain Registration