红联Linux门户
Linux帮助

virtualbox install error 我的是 fedora 11 i386

发布时间:2009-07-18 23:29:51来源:红联作者:keyjing
Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.

Compilation of the kernel module FAILED! VirtualBox will not start until this
problem is fixed. Please consult /var/log/vbox-install.log to find out why the
kernel module does not compile. Most probably the kernel sources are not found.
Install them and execute

/etc/init.d/vboxdrv setup

as root.
文章评论

共有 7 条评论

  1. pirlo 于 2009-07-20 15:39:45发表:

    楼主试一下用yum安装?

    ----------------------------------
    [root@hummer ~]# yum install VirtualBox*
    载入插件: allowdowngrade, fastestmirror, presto, refresh-packagekit, security
    Loading mirror speeds from cached hostfile
    * fedora: ftp.twaren.net
    * livna: rpm.livna.org
    * rpmfusion-free: ftp.icm.edu.pl
    * rpmfusion-free-updates: ftp.icm.edu.pl
    * rpmfusion-nonfree: ftp.icm.edu.pl
    * rpmfusion-nonfree-updates: ftp.icm.edu.pl
    * updates: ftp.kddilabs.jp
    设置安装进程
    解决依赖相关
    -->运行处理检查
    ---> 包 VirtualBox-OSE.i586 0:2.2.4-1.fc11 设置为 升级
    --> 过程依赖: VirtualBox-OSE-kmod = 2.2.4 依赖于包: VirtualBox-OSE-2.2.4-1.fc11.i586
    ---> 包 VirtualBox-OSE-devel.i586 0:2.2.4-1.fc11 设置为 升级
    --> 过程依赖: pyxpcom 依赖于包: VirtualBox-OSE-devel-2.2.4-1.fc11.i586
    ---> 包 VirtualBox-OSE-guest.i586 0:2.2.4-1.fc11 设置为 升级
    ---> 包 VirtualBox-OSE-kmodsrc.i586 0:2.2.4-1.fc11 设置为 升级
    -->运行处理检查
    ---> 包 akmod-VirtualBox-OSE.i686 0:2.2.4-1.fc11.1 设置为 升级
    --> 过程依赖: akmods 依赖于包: akmod-VirtualBox-OSE-2.2.4-1.fc11.1.i686
    --> 过程依赖: kmodtool 依赖于包: akmod-VirtualBox-OSE-2.2.4-1.fc11.1.i686
    --> 过程依赖: /usr/bin/kmodtool 依赖于包: akmod-VirtualBox-OSE-2.2.4-1.fc11.1.i686
    ---> 包 xulrunner-python.i586 0:1.9.1-1.fc11 设置为 升级
    -->运行处理检查
    ---> 包 akmods.noarch 0:0.3.6-2.fc11 设置为 升级
    --> 过程依赖: /usr/bin/rpmdev-vercmp 依赖于包: akmods-0.3.6-2.fc11.noarch
    ---> 包 kmodtool.noarch 0:1-18.fc11 设置为 升级
    -->运行处理检查
    ---> 包 rpmdevtools.noarch 0:7.3-1.fc11 设置为 升级
    --> 过程依赖: fakeroot 依赖于包: rpmdevtools-7.3-1.fc11.noarch
    -->运行处理检查
    ---> 包 fakeroot.i586 0:1.12.2-21.fc11 设置为 升级
    --> 过程依赖: fakeroot-libs = 1.12.2-21.fc11 依赖于包: fakeroot-1.12.2-21.fc11.i586
    -->运行处理检查
    ---> 包 fakeroot-libs.i586 0:1.12.2-21.fc11 设置为 升级
    --> 完成依赖性检查

    依赖性解决

    ================================================================================
    包 架构 版本 仓库 大小
    ================================================================================
    正在安装:
    VirtualBox-OSE i586 2.2.4-1.fc11 rpmfusion-free 35 M
    VirtualBox-OSE-devel i586 2.2.4-1.fc11 rpmfusion-free 939 k
    VirtualBox-OSE-guest i586 2.2.4-1.fc11 rpmfusion-free 485 k
    VirtualBox-OSE-kmodsrc i586 2.2.4-1.fc11 rpmfusion-free 325 k
    为依赖而安装:
    akmod-VirtualBox-OSE i686 2.2.4-1.fc11.1 rpmfusion-free 9.3 k
    akmods noarch 0.3.6-2.fc11 rpmfusion-free 16 k
    fakeroot i586 1.12.2-21.fc11 fedora 77 k
    fakeroot-libs i586 1.12.2-21.fc11 fedora 72 k
    kmodtool noarch 1-18.fc11 rpmfusion-free 13 k
    rpmdevtools noarch 7.3-1.fc11 updates 84 k
    xulrunner-python i586 1.9.1-1.fc11 updates 110 k

    Transaction Summary
    ================================================================================
    Install 11 Package(s)
    Update 0 Package(s)
    Remove 0 Package(s)

    总共下载大小: 37 M
    确定是这样吗? [y/N]:

  2. marco.chan 于 2009-07-20 12:46:32发表:

    [i=s] 本帖最后由 marco.chan 于 2010-5-1 13:22 编辑 [/i]

    引用:
    我的现在能用,不过就是不知道怎样才能让VBOX便用USB设备,比如说U盘
    yhzm1314 发表于 2009-7-20 11:50


    参考:http://www.uncle.ws/tag/virtualbox/

  3. yhzm1314 于 2009-07-20 11:50:23发表:

    我的现在能用,不过就是不知道怎样才能让VBOX便用USB设备,比如说U盘

  4. marco.chan 于 2009-07-20 11:28:02发表:

    [i=s] 本帖最后由 marco.chan 于 2010-5-1 13:21 编辑 [/i]

    4# yhzm1314

    安装前:
    sudo yum install kernel-devel kernel-headers

    安装vbox

    安装后:
    sudo /etc/rc.d/init.d/vboxdrv

    usermod -aG vboxusers your_username

    更多参考:http://www.uncle.ws/2009/02/virtualbox-simple-manual/

  5. yhzm1314 于 2009-07-20 10:35:31发表:

    [i=s] 本帖最后由 yhzm1314 于 2009-7-20 10:36 编辑 [/i]

    英文看不懂,不过我用Fedora11 的GNOME LiveCD 装过VirtualBox(在官网下的rpm包)
    安装时会少了一些依赖关系,你试试
    #yum install kernel-devel
    然后再
    # /etc/init.d/vboxdrv setup

  6. keyjing 于 2009-07-19 06:00:16发表:

    /var/log/vbox-install.log

    ** Compiling vboxdrv
    Makefile:147: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.

  7. hantu 于 2009-07-19 00:35:26发表:

    系统上安装了内核源码了没有? 请检查 /var/log/vbox-install.log 日志文件看看都提示了什么错误?