由VirtualBox 安装引起的问题

安装了VirtualBox-5.2-5.2.6_120293版本在fedora27上,本来在原来的老X1上是一点问题也没有,新X1出现问题了,提示如下:

[cnangel@localhost ~]$sudo /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: Starting VirtualBox services.
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.

开始以为是新电脑CPU主频过高、长时间使用睿频缘故(dmesg):

[ 3.889232] CPU0: Core temperature above threshold, cpu clock throttled (total events = 1)
[ 3.889233] CPU2: Core temperature above threshold, cpu clock throttled (total events = 1)
[ 3.889233] CPU1: Package temperature above threshold, cpu clock throttled (total events = 1)
[ 3.889234] CPU3: Package temperature above threshold, cpu clock throttled (total events = 1)
[ 3.889236] CPU2: Package temperature above threshold, cpu clock throttled (total events = 1)
[ 3.889327] CPU0: Package temperature above threshold, cpu clock throttled (total events = 1)

然后导致硬件错误,后来在BIOS中关闭Secure Boot设置即可。

当然这是暴力解法,最恰当的方法是在关闭Secure Boot后,安装mokutil库:

sudo dnf install mokutil -y

然后执行:

[cnangel@localhost ~]$sudo mokutil --disable-validation
password length: 8~16
input password:
input password again:
[cnangel@localhost ~]$sudo mokutil --sb-state
SecureBoot disabled
[cnangel@localhost ~]$sudo /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: Starting VirtualBox services.

然后再开启Secure Boot模式即可。

感谢:

https://askubuntu.com/questions/762254/why-do-i-get-required-key-not-available-when-install-3rd-party-kernel-modules

http://blog.csdn.net/jingtiangao/article/details/51811638

Monthly Archives

Pages

Powered by Movable Type 7.7.2

About this Entry

This page contains a single entry by Cnangel published on January 27, 2018 8:27 PM.

fedora27 sshd问题 was the previous entry in this blog.

阿里云域名问题 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.