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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值