How to prevent kernel modules from getting installed onto custom kernels in Ubuntu?
Tommy Trussell
tommy.trussell at gmail.com
Thu Mar 26 15:43:05 UTC 2015
On Sun, Mar 22, 2015 at 12:39 PM, Sabniveesu Shashank <shashank at linux.com>
wrote:
> Hi,
>
> I pulled sources of 3.19.0 kernel from Mr Torvalds' tree and am good with
> it. However, on every startup, I see a 'virtualbox-dkms failed to install'
> error report, mentioning the 'custom kernel version'.
>
> How do I prevent the module from attempting to install just for that
> kernel?
>
> <http://about.me/shashank.computers>
>
Why are you concerned that virtualbox-dkms attempts to install and fails,
if you don't need it? If you don't want the module to even attempt to
install, just remove that package using the package manager. The purpose of
that package is to keep the virtualbox kernel modules in sync with the
kernel you are running, assuming the virtualbox-dkms package and the kernel
package are coming from the same repository (which they aren't when you
have a custom kernel). See https://www.virtualbox.org/wiki/Linux_Downloads
for information.
You might also ask yourself whether you have other packages installed that
you aren't using, and remove them, or start with a completely "clean" and
uncluttered installation using one of the minimal Ubuntu installers, then
compile your custom kernel. see
https://help.ubuntu.com/community/Installation/MinimalCD for example.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150326/dd3165f9/attachment.html>
More information about the ubuntu-users
mailing list