当前位置:   article > 正文

解决Fedora安装Virtualbox后无法运行_virtualbox kernel moudles using dkmserror

virtualbox kernel moudles using dkmserror
在Fedora下安装了Virtualbox,发现运行时出现以下问题:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
‘/etc/init.d/vboxdrv setup’
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.


然后以root身份运行/etc/init.d/vboxdrv setup
结果提示:
Stopping VirtualBox kernel modules [确定]
Uninstalling old VirtualBox DKMS kernel modules [确定]
Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 3.2.3-2.fc16.i686 (i686)
Consult /var/lib/dkms/vboxhost/4.0.8/build/make.log for more information.[失败]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [失败]
(Look at /var/log/vbox-install.log to find out what went wrong)


解决方法:
先尝试:
sudo yum install -y kernel-headers kernel-devel dkms gcc
sudo /etc/init.d/vboxdrv setup


如果执行此操作,仍然出现上述错误。可以参考下面
安装 PAE 包, sudo yum install kernel-PAE-devel 。
完成后再执行 sudo/etc/init.d/vboxdrv setup
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/黑客灵魂/article/detail/1000367
推荐阅读
相关标签
  

闽ICP备14008679号