我使用的是 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)