安装vbox

如果系统是安全启动,需要先把模块注册了,sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci)

openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=Descriptive common name/"
sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vboxdrv)

tail $(modinfo -n vboxdrv) | grep "Module signature appended"

sudo mokutil --import MOK.der

mokutil --test-key MOK.der

sudo modprobe vboxdrv
askubuntu.com/questions/760671/could-not-load-vboxdrv-after-upgrade-to-ubuntu-16-04-and-i-want-to-keep-secur/768310

你可能感兴趣的:(问题解决)