1

I installed VirtualBox using sudo apt-get install virtualbox.

Every time I try to start a virtual machine, I get this error:

img_kernel-driver

I logged in as root, and typed this into the terminal: modprobe vboxdrv and I got another error:

img_terminal_error

I also got another error:

img_virtualbox_error

(More info: I am using Ubuntu 16.04)

Help!!!

WinEunuuchs2Unix
  • 99,709
  • 34
  • 237
  • 401
lulupuppy
  • 11
  • 4
  • Support for Ubuntu 16.04 ended this month (see https://wiki.ubuntu.com/Releases). Are you willing to upgrade to a newer supported version of Ubuntu? – Enterprise Apr 14 '21 at 00:29
  • 3
    Turn off secure boot. – Organic Marble Apr 14 '21 at 03:58
  • What does secure boot have to do with VirtualBox? – lulupuppy Apr 14 '21 at 04:00
  • *What does secure boot have to do with VirtualBox?* Everything. Secure Boot prevents unsigned drivers like the ones Virtualbox depends on from loading. Either disable Secure Boot in UEFI, by far the easiest option and use mokutil to "trust" those drivers (not for newbies, at all). – ChanganAuto Apr 21 '21 at 22:44
  • Does this answer your question? [Virtualbox Kernel driver not installed](https://askubuntu.com/questions/41118/virtualbox-kernel-driver-not-installed) – karel May 09 '21 at 04:08

1 Answers1

-1

Reinstall the virtualbox-dkms package by running the following commands

sudo apt-get install linux-headers-generic build-essential dkms
sudo apt-get remove --purge virtualbox-dkms
sudo apt-get install virtualbox-dkms
Mir Rahed Uddin
  • 609
  • 1
  • 8
  • 19
  • Reinstalling stuff hoping that it'll work stems from a certain "Windows mentality". No, it won't work in this case. The situation has been correctly identified in comments and this question is off-topic. – ChanganAuto May 09 '21 at 02:09