Problem z uruchomieniem VirtualBox pod Ubuntu 18.04 „Kernel driver not installed”

Podczas pierwszego uruchomienia dowolnego systemu w VirtualBox pojawia się komunikat:

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/sbin/vboxconfig'

as root.

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

Natomiast podczas próby wywołania tego polecenia w konsoli jako root – pojawiają się kolejne problemy:

root@ubuntu:/home/user# /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.
This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.

Czyli kręcimy się w kółko.

Problem rozwiąże doinstalowanie w systemie tych pakietów + restart systemu

sudo apt-get update
sudo apt-get install build-essential gcc make perl
reboot

Nastepnie ponownie logujemy się jako root i uruchamiamy w/w komendę:

/sbin/vboxconfig

Po skończonym działaniu maszyna wirtualna powinna ruszyć:)

Możesz również polubić…

Inna porada:
W tak konkretnym przypadku pomocna będzie komenda: svn status |…