小编Qoh*_*let的帖子

Fedora 31:VirtualBox 中“请安装与当前内核匹配的 Linux 内核“头”文件,以便向系统添加新硬件支持”

我使用的是 Fedora 31,并使用网站上的 RPM 安装了 VirtualBox (VirtualBox-6.1-6.1.14_140239_fedora31-1.x86_64.rpm),这应该是最新版本。

启动它给我以下错误:

$ virtualbox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (5.8.11-100.fc31.x86_64) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/vboxconfig

         You will not be able to start VMs until this problem is fixed.
Run Code Online (Sandbox Code Playgroud)

从内核版本来看,一切似乎都很好。

$ uname -a
Linux localhost.localdomain 5.8.11-100.fc31.x86_64 #1 SMP Wed Sep 23 15:15:42 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)

当我尝试启动虚拟机时,我会得到:

**Kernel driver …
Run Code Online (Sandbox Code Playgroud)

linux fedora virtualbox kernel fedora-30

2
推荐指数
1
解决办法
1万
查看次数

标签 统计

fedora ×1

fedora-30 ×1

kernel ×1

linux ×1

virtualbox ×1