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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-25-11, 03:11 PM   #1
almatic
Registered User
 
Join Date: Feb 2007
Posts: 11
Default Keep nvidia module on kernel update

Hi,

probably an easy question. If I make a new kernel and run the nvidia-installer, it will delete the module of the old kernel. So if I want (or have) to boot my old kernel I must run the installer again, which will remove the modules of the new kernel.
Is there an easy way to prevent the deletion of the old modules ? Is it enough to just copy back a backup of the module (can't try it now) ?

thanks
almatic is offline   Reply With Quote
Old 03-25-11, 03:25 PM   #2
Fackamato
User
 
Join Date: Mar 2005
Posts: 366
Default Re: Keep nvidia module on kernel update

Quote:
Originally Posted by almatic View Post
Hi,

probably an easy question. If I make a new kernel and run the nvidia-installer, it will delete the module of the old kernel. So if I want (or have) to boot my old kernel I must run the installer again, which will remove the modules of the new kernel.
Is there an easy way to prevent the deletion of the old modules ? Is it enough to just copy back a backup of the module (can't try it now) ?

thanks
Not enough information, as usual.

Compiling? Name it something different.
Kernel update within the same series? Tough luck, use dkms or a sane package manager.

Fackamato is offline   Reply With Quote
Old 03-25-11, 04:16 PM   #3
conky
Registered User
 
Join Date: Nov 2007
Posts: 70
Default Re: Keep nvidia module on kernel update

The -K option to the nvidia installer will compiler just the kernel module for a new kernel, and not uninstall the old one. You can use this if you are just upgrading the kernel and installing the same version of the nvidia driver you were using before.
conky is offline   Reply With Quote
Old 03-26-11, 07:05 AM   #4
artem
Registered User
 
Join Date: Jun 2006
Posts: 710
Default Re: Keep nvidia module on kernel update

Code:
# ./nvidia-installer -a -q -K -k new_kernel_version
There's no need to reinstall the whole package every time you update the kernel.
artem is offline   Reply With Quote
Old 03-26-11, 07:46 AM   #5
almatic
Registered User
 
Join Date: Feb 2007
Posts: 11
Default Re: Keep nvidia module on kernel update

thanks guys !
almatic 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


All times are GMT -5. The time now is 05:39 AM.


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