问题的详细报错如下:
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.
起首,尝试利用
sudo modprobe vboxdrv
复制代码
假如报错
$ sudo modprobe vboxdrv
modprobe: ERROR: could not insert 'vboxdrv': Required key not available
没有报错即可。
3.2 VT-x is disabled in the BIOS for all CPU modes
报错的详细信息如下:
VT-x is disabled in the BIOS for both all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)
这个报错的意思是CPU的VT-X虚拟化技术处于关闭状态,需要在电脑主板BIOS中开启CPU虚拟化技术,每种类型的主板操纵不一样,但是大概的操纵方式是:
[1]ubuntu下用VirtualBox安装Windows虚拟机
[2]How can I fix this ‘modprobe vboxdrv’ error in VirtualBox? ERROR: could not insert ‘vboxdrv’: Required key not available
[3]VT-x is disabled in the BIOS for both all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)
[4]How to fix errors in virtualbox - modprobe vboxdrv, Kernel driver not installed