最近我开始使用Centos 8,并安装了VirtualBox来管理我的虚拟机,遇到的问题是我的VirtualBox无法启动任何VM,并告诉我以root身份执行此脚本/sbin/vboxconfig
,当我运行此脚本时,会出现以下消息:
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: You must sign these kernel modules before using VirtualBox:
vboxdrv vboxnetflt vboxnetadp vboxpci
See the documenatation for your Linux distribution..
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root. If your system is using EFI Secure Boot you may 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.
请注意我的安全启动已启用。我的问题是如何在Centos 8中签署这些内核模块?