zoukankan      html  css  js  c++  java
  • 解决Fedora安装Virtualbox后无法运行:/etc/init.d/vboxdrv setup

    解决Fedora安装Virtualbox后无法运行:/etc/init.d/vboxdrv setup

    在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: 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)

    解决方法:

    1、可以先尝试:

    $su yum install -y kernel-headers kernel-devel dkms gcc

    $su yum -y update

    接着运行/etc/init.d/vboxdrv setup

    如果执行此操作,仍然出现上述错误。可以参考第二步执行

    2、先 安装 PAE 包, $ yum install kernel-PAE-devel 。

    完成后再执行 $ /etc/init.d/vboxdrv setup,则显示:

    Stopping VirtualBox kernel modules [确定]
           Uninstalling old VirtualBox DKMS kernel modules [确定]
           Trying to register the VirtualBox kernel modules using DKMS[确定]
           Starting VirtualBox kernel modules [确定]

    运行成功后,虚拟机可以运行成功!

  • 相关阅读:
    系统振动的稳定性分析
    算法
    九眼智能:信息安全是网络发展的关键
    运用大数据技术筑起网络安全防火墙
    网络安全维护九眼智能大数据显身手
    九眼智能大数据技术助力网络信息安全
    九眼智能:用大数据技术为网络信息加层“滤网”
    大数据如何解决人工智能对文本挖掘的挑战
    “键盘侠”行为规则出台网络信息盼清洁
    灵玖NLPIRParser大数据挖掘系统智能摘要
  • 原文地址:https://www.cnblogs.com/stranger/p/3698906.html
Copyright © 2011-2022 走看看