LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   New kernel + NVidia drivers (https://www.linuxquestions.org/questions/linux-general-1/new-kernel-nvidia-drivers-82391/)

Mad Merlin 08-15-2003 07:24 PM

New kernel + NVidia drivers
 
From what I read, it seems that you can boot as many kernels as you'd like, as long as you install the NVidia drivers for each one. This seems to be eaisly achieved, but looking in the readme for the drivers, it seems one of the files isn't in a blah/kernelname/ folder, and would be overwritten by a new install. I was just wondering if it was possible to multi boot several kernels with 3d acceleration in all of them with the NVidia drivers (and possibly different versions of drivers for different kernels).

Proud 08-16-2003 04:25 AM

Right now, installing the nVidia drivers for a kernel removes the drivers for all other kernels you may have installed. There is a patch mentioned on the nVidia forums about just this. Hopefully nVidia implement it for the next drivers.

Bruce Hill 06-03-2006 07:36 PM

Old post, but still found in a search, and no answer posted yet, so...

According to "man nvidia-installer"
Code:

-K, --kernel-module-only
Install a kernel module only, and do not uninstall the existing driver.
This is intended to be used to install kernel modules for additional ker-
nels (in cases where you might boot between several different kernels). To
use this option, you must already have a driver installed, and the version
of the installed driver must match the version of this kernel module.

And you can also follow these 5 steps to have modules in multiple kernels,
I believe irrespective of driver version:
Code:

1. Boot with the new kernel.
2. Then cd to the following directory : /lib/modules/OLDKERNELVERSION/kernel/drivers/video/
(replace OLDKERNELVERSION with your own specific version)
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 mentioned under 2 do a rename to the original name
"mv nvidia.(k)o.old nvidia.(k)o"



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