ºìÁª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 ±à¼­ ]