在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.

1.根据提示运行以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: 2.6.38.6-27.fc15.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)

2.应该是编译问题,故安装gcc:yum install gcc
3.在运行:/etc/init.d/vboxdrv setup

这是可能还报错,不用管。再次运行virtualbox,是不是成功了啊

引用来源

随机文章

终于等到工行推出android客户端了
终于等到工行推出android客户端了

如何在不用密码的情况下删除360企业版(360天擎)
如何在不用密码的情况下删除360企业版(360天擎)

用cmd调试java图文教程
用cmd调试java图文教程

百度bae签名函数
百度bae签名函数

Android BlueStacksAppPlayer最新测试版发布
Android BlueStacksAppPlayer最新测试版发布

内容分享:道招
本文链接:解决Fedora安装Virtualbox后无法运行:/etc/init.d/vboxdrv setup
道招声明:除特别标注或作者不详外,本站所有文章均为原创,转载请注明。欢迎共同关注互联网!