Page 1 of 1

vboxdrv kernel module is not loaded, after restarts

Posted: 20. Jun 2018, 15:58
by TechKnowledge
When this server restarts, it loses the vboxdrv kernel.
Just wanting to make certain I understand correctly.
This occurs every time the OS kernel is updated?
Thanks for your time.

Code: Select all

:~$ VBoxManage list vms
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.4.0-128-generic) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/rcvboxdrv setup

         You will not be able to start VMs until this problem is fixed.

Code: Select all

s:~$ sudo /sbin/rcvboxdrv setup
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modulesError! Could not locate dkms.conf file.
File:  does not exist.
 ...done.
Trying to register the VirtualBox kernel modules using DKMSError! DKMS tree already contains: vboxhost-5.0.40
You cannot add the same module/version combo more than once.
 ...failed!
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...done.
Starting VirtualBox kernel modules ...done.

Re: vboxdrv kernel module is not loaded, after restarts

Posted: 20. Jun 2018, 16:49
by socratis
Sounds like there's a conflict between versions/kernels. What I would do would be to clean the system completely from anything VirtualBox related, except your preferences and your VMs of course. Then install the official VirtualBox version for your host, from the official downloads page, not from your software repo.