无法在 Arch 中安装 virtualbox [英] Can't install virtualbox in Arch
问题描述
我尝试使用 pacman 在 Arch(4.7.0-1) 上安装 Virtualbox,在我尝试运行它之前,一切似乎都很顺利.我收到以下消息
I have tried to install Virtualbox on Arch(4.7.0-1) using pacman and everything seems to go fine until I try to run it. I get the following message
警告:未加载 vboxdrv 内核模块.要么没有模块可用于当前内核 (4.7.0-1-ARCH) 或未能加载.请重新编译内核模块并安装
WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (4.7.0-1-ARCH) 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.
VirtualBox:supR3HardenedMainGetTrustedMain:dlopen("/usr/lib/virtualbox/VirtualBox.so",) 失败:/usr/lib/libQt5Core.so.5:文件太短
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: /usr/lib/libQt5Core.so.5: file too short
对于我应该从哪里开始调试这个有什么想法吗?
Any thoughts on where I should start looking to debug this?
推荐答案
从 5.0.16 版本开始,virtualbox-host-modules-arch 和 virtualbox-host-dkms 使用 systemd-modules-load.service 在启动时加载所有四个 VirtualBox 模块.
Since version 5.0.16, virtualbox-host-modules-arch and virtualbox-host-dkms use systemd-modules-load.service to load all four VirtualBox modules at boot time.
要手动加载模块,请运行:modprobe vboxdrv
To load the module manually, run: modprobe vboxdrv
https://wiki.archlinux.org/index.php/VirtualBox#Load_the_VirtualBox_kernel_modules
这篇关于无法在 Arch 中安装 virtualbox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!