错误信息如下
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing
'/sbin/vboxconfig'
as root.
If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
大概就是你使用虚拟机需要加载xxx模块什么的,然后可以运行/sbin/vboxconfig命令加载。所以就直接sudo执行这个命令喽。然后如果报错No DKMS packages installed: not changing Secure Boot validation state.的话,那么就搜索一个叫做dkms的包并安装。然后发现还是有问题
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: You must sign t