3

When I try to launch a virtual machine from Virtualbox, it tells me that the Virtualbox kernel driver is not loaded, or there is a permission problem with /dev/vboxdrv.

Please reinstall the kernel module by executing /etc/init.d/vboxdrv setup as root.

It also tells me that I should install the DKMS package first (which I have done).

Now, the mentioned files to not exist in my system. How do I fix this?

5
  • 1
    Can you reinstall Virtual Box? I haven't used VM programs in a while, so I don't really know what's going on with them. Aug 24, 2015 at 14:54
  • Is there anything you did which you believe may have caused this?
    – user364819
    Aug 24, 2015 at 15:03
  • 1
    @Zacharee1 I tried reinstalling and it still is missing.
    – Ketchup901
    Aug 28, 2015 at 7:34
  • @ParanoidPanda I do not recall anything.
    – Ketchup901
    Aug 28, 2015 at 7:35
  • Does this answer your question? VirtualBox '/etc/init.d/vboxdrv setup' issue
    – karel
    Apr 10, 2023 at 14:10

2 Answers 2

0

I experienced the same issue. You may try to include Orace's VirtualBox repository as described in [1]. Before you have to uninstall virtualbox (apt-get remove virtualbox). Then you have /etc/init.d/vboxdrv and can use it to recompile the virtualbox drivers in case DKMS fails.

[1] https://www.virtualbox.org/wiki/Linux_Downloads

0

Try to use this command:

sudo modprobe vboxdrv

If not, run these commands to run an update and reinstall the linux-headers and virtualbox-dkms

sudo apt update
sudo apt install --reinstall linux-headers-$(uname -r) virtualbox-dkms dkms

Reboot and then:

sudo modprobe vboxdrv

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .