vboxdrv kernel module is not loaded, after restarts

Discussions related to using VirtualBox on Linux hosts.
Post Reply
TechKnowledge
Posts: 1
Joined: 20. Jun 2018, 15:37

vboxdrv kernel module is not loaded, after restarts

Post 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.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: vboxdrv kernel module is not loaded, after restarts

Post 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.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply