红联Linux门户
Linux帮助

求助:F9下安装VirtualBox失败!

发布时间:2008-06-07 21:45:30来源:红联作者:wuszhong
我从网上下载了VirtualBox-1.6.2_31466_fedora9-1.i586.rpm包,安装完了以后,执行 /etc/init.d/vboxdrv setup时出错:Recompiling VirtualBox kernel module [失败](Look at /var/log/vbox-install.log to find out what went wrong)。于是我查看/var/log/vbox-install.log 文件:Makefile:127: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again。 停止。我是新手,不知道该怎么弄才行,请高手指点!!谢谢!
文章评论

共有 2 条评论

  1. 水影无痕 于 2008-06-15 11:46:14发表:

    rpm -ivh /Tools/Linux/Vir*.rpm
    Preparing... ########################################### [100%]
    1:VirtualBox ########################################### [100%]

    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.

    [root@Amethyst ~]# /etc/init.d/vboxdrv setup
    Stopping VirtualBox kernel module [确定]
    Recompiling VirtualBox kernel module [失败]
    (Look at /var/log/vbox-install.log to find out what went wrong)

  2. shadowm 于 2008-06-07 23:04:52发表:

    没装内核开发包,
    yum install kernel-devel

    [ 本帖最后由 shadowm 于 2008-6-7 23:11 编辑 ]