无法在Arch中安装virtualbox [英] Can't install virtualbox in Arch

查看:231
本文介绍了无法在Arch中安装virtualbox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆