Virtual Box 無法正常運作 ubuntu 16.04

Virtual Box 無法正常運作 ubuntu 16.04

彈出此錯誤代碼,請給我建議該怎麼做。我不知道如何啟動虛擬機器而不出現錯誤。是否有命令列可以用來解決這個問題?

Failed to open a session for the virtual machine windows.

The virtual machine 'windows' has terminated unexpectedly during startup with exit code 1 (0x1).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {f30138d4-e5ea-4b3a-8858-a059de4c93fd}

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 install virtualbox-dkms package and load the kernel module by executing

'modprobe vboxdrv'

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. 

答案1

嘗試用

apt-get update && apt-get install virtualbox-dkms virtualbox-qt linux-headers-$(uname -r) -y
modprobe vboxdrv

相關內容