3

The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing

'/sbin/vboxconfig'

as root.

If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

Is there any solution to this problem? the sudo /sbin/vboxconfig command isnt working too, also my system is not using EFI Secure Boot. Thanks

3
  • 1
    When you execute sudo /sbin/vboxconfig do you see error messages? Mar 12, 2021 at 1:49
  • yes it says : vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why. And then again it says: There were problems setting up VirtualBox. To re-start the set-up process, run /sbin/vboxconfig as root. If your system is using EFI Secure Boot you may need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information. Mar 13, 2021 at 0:11
  • This solved it for me: superuser.com/a/1513506/628839 Sep 30, 2022 at 18:37

2 Answers 2

7

If you have recently received a kernel update, then you may need to reinstall the virtualbox-dkms package:

sudo apt install virtualbox-dkms --reinstall

Once installed, verify the kernel module is active with:

sudo modprobe vboxdrv

Hope this helps.

5
  • while installing the virtualbox-dkms i get this error: Failed to start LSB: VirtualBox Linux kernel module. And when i type the command sudo modprobe vboxdrv i get this error: modprobe: ERROR: could not insert 'vboxdrv': Operation not permitted Mar 12, 2021 at 23:46
  • It sure sounds like secure boot is active. Mar 13, 2021 at 1:10
  • This method worked for me, And DKMS: install completed.
    – Hamed
    Aug 30, 2021 at 7:46
  • I have the same problem as Moustafa. secure boot must be active or inactive? Oct 28, 2021 at 5:26
  • @asteriogonzalez Disabled,always, unless you're dual-booting with Windows 11 that requires it. Use MOK in that case: askubuntu.com/a/1396818/1210606 Mar 10, 2022 at 19:01
2

I have solved this issue by doing following on ubuntu 20.04:

Method 1: sudo apt-get install virtualbox Method 2: install software center (the software center is not loading by default on my computer), and install virtualbox from there.

However, no matter what, Error occurs “Failed to start LSB: VirtualBox Linux kernel module”

Solution: found from : https://www.itzgeek.com/post/how-to-install-virtualbox-on-ubuntu-20-04/

  1. sudo reboot
  2. Choose Enroll MOK » Continue » Yes » Enter Password (you have set earlier) » Reboot.

You must log in to answer this question.

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