ubuntu20.04卸载virtualbox失败,“if your system is using efi secure boot you may need to sign the kernel “

ubuntu20.04卸载virtualbox失败,报错信息中有“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.“

昨晚在ubuntu20.04上安装了vietualbox,准备做一个centos7.8的虚拟机,但是在安装的时候,有个地方要输入密码,我迷迷糊糊的输入了开机密码,virtualbox安装成功了,但是创建的虚拟机无法启动,具体报错信息忘了记录(坏习惯),好像跟下图差不多:
在这里插入图片描述
于是打算卸载virtualbox,重新安装,但是卸载失败,报错信息中有以下内容:

debconf: dbdriver "config": /var/cache/debconf/config.dat is locked by another process: resource temporarily unavailable 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.

google以下如何sign the kernel modules,找到了下面这篇文章,实测有效,具体内在原因还在研究中,谨此记录。
https://superuser.com/questions/1438279/how-to-sign-a-kernel-module-ubuntu-18-04

©️2020 CSDN 皮肤主题: 黑客帝国 设计师: 上身试试 返回首页
实付0元
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值