arch启动virtualbox实例出现错误:内核驱动未安装

发布时间 2023-12-16 11:36:13作者: 多多云

参照 https://cn.linux-console.net/?p=22258
错误如下

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. 

解决办法:

sudo pacman -S linux-headers

再重启就可以了