u010733398
芥末8.9
采纳率7.7%
2016-05-21 04:31 阅读 6.1k
已采纳

Virtualbox 安装centos7.0 无法全屏问题

图片说明

相应的log信息:vi /var/log/vboxadd-install.log

/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

2条回答 默认 最新

  • 已采纳
    u010733398 芥末8.9 2016-05-21 19:31

    Uninstall Virtualbox and try reinstalling it with a parameter:

    C:\Users\xushui\Downloads>VirtualBox-5.0.20-106931-Win.exe -msiparams NETWORKTYPE=NDIS5

    点赞 评论 复制链接分享
  • u010733398 芥末8.9 2016-05-26 09:29
    1. 先安装 gcc, kernel, kernel-devel
      yum install -y gcc kernel kernel-devel

    2. 重启电脑:
      reboot

    3. 重新安装vboxadditions_5.0.20_106931
      图片说明

    4. 显示安装成功
      图片说明

    点赞 评论 复制链接分享

相关推荐