错误信息如下:
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/rcvboxdrv setup'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
解决办法:
ubuntu 16.04版本终端中输入:
sudo apt-get upgrade
sudo apt-get update
sudo apt-get install dkms
sudo apt-get install linux-headers-`uname -r` build-essential
sudo ./sbin/vboxdrv setup