流浪起来,虚拟机不能正常工作的Fedora 22
我有一个问题,当我想用无业游民了,我得到错误流浪起来,虚拟机不能正常工作的Fedora 22
The provider 'virtualbox' that was requested to back the machine
'default' is reporting that it isn't usable on this system. The
reason is shown below:
VirtualBox is complaining that the kernel module is not loaded. Please
run `VBoxManage --version` or open the VirtualBox GUI to see the error
message which should contain instructions on how to fix this error.
写VBoxManage --version
我越来越
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (4.2.3-200.fc22.x86_64) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
4.2.32r101581
和sudo /etc/init.d/vboxdrv setup
我得到错误
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modulesError! Could not locate dkms.conf file.
File: does not exist.
[ OK ]
Removing old VirtualBox netadp kernel module [ OK ]
Removing old VirtualBox netflt kernel module [ OK ]
Removing old VirtualBox kernel module [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 4.2.3-200.fc22.x86_64 (x86_64)
Consult /var/lib/dkms/vboxhost/4.2.32/build/make.log for more information.
[ERROR]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [ERROR]
(Look at /var/log/vbox-install.log to find out what went wrong)
我不知道问题在哪里,我尝试更新kernel-devel,kernel-headers,dkms等。我将VirtualBox从4.3.30降级到4.2.32,并且没有任何工作,请帮助解决此问题。当我有30年3月4日版本的VirtualBox sudo /etc/init.d/vboxdrv setup
不工作,我有问题vboxdrv
- 命令不exist.Yesterday我工作正常,我关掉机器和电脑,今天,当我想用vagrant up
我得到了这个问题。
对不起,我的英文,请帮我看看这个,感谢每一个答案的!
//编辑:
我加入
/var/lib/dkms/vboxhost/4.2.32/build/make.log /var/log/vbox-install.log
我想补充一点,你必须安装gcc ...为了确保你得到开发工具组安装在其他任何东西之前。另外,你需要你当前的内核源代码。
sudo dnf install "kernel-devel-uname-r == $(uname -r)"
sudo dnf groupinstall "Development Tools"
sudo dnf update
sudo /usr/lib/virtualbox/vboxdrv.sh setup
应该这样做对于大多数运行VirtualBox的5 *的Fedora 2 [23]。
sudo /usr/lib/virtualbox/vboxdrv.sh setup
这行解决了在Ubuntu 14的错误。04
尝试使用sudo akmods,如果不行,您应该尝试安装sudo apt-get install akmods。我这不会工作尝试重新安装vbox-akmods。 – Adrian
的的VirtualBox Linux内核驱动程序(vboxdrv)可能不是loaded.You可能没有安装运行内核的内核驱动程序,如果是这样,你可以为根做:
dnf install akmod-VirtualBox kernel-devel-$(uname -r)
如果安装VirtualBox的包和不希望重启系统,你可能需要加载内核驱动程序,这样做的根:
akmods; systemctl restart systemd-modules-load.service
此外,请记住安装支持的VirtualBox版本!
'akmods; systemctl restart systemd-modules-load.service'为我做了窍门,重启没有 –
经过漫长而痛苦的试验,我找到了解决方案。 这是Virtualbox rpm的问题,直到版本5.0.20
。 该问题在测试版本5.0.21
中得到解决。获得测试版本从https://www.virtualbox.org/wiki/Testbuilds
你看看'的/ var/lib中/ DKMS/vboxhost/4.2.32 /编译/ make.log'和'在/ var /日志/ VBOX-install.log'? – oliverpool
是的,我什么都不懂。 '建筑模块: 清洗构建区域... 使KERNELRELEASE = 4.2.3-200.fc22.x86_64 -C /lib/modules/4.2.3-200.fc22.x86_64/build M =的/ var/lib中/dkms/vboxhost/4.2.32/build..............(bad退出状态:2) 使用DKMS安装失败,尝试安装时没有使用 @ “/ var/log /vbox-install.log“52L,18326C ' – Adrian
和'/ var/log/vbox-install.log'? (最好是如果你编辑你的问题,包括那些) – oliverpool