芥末8.9 2016-05-21 04:31 采纳率: 0%
浏览 6277
已采纳

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条回答 默认 最新

  • 芥末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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
  • 芥末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. 显示安装成功
      图片说明

    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 C语言用正向迭代,反向迭代解决问题
  • ¥15 想要卸载软件(maltab)但是在控制面板的程序和功能中没有要卸载的软件怎么办?
  • ¥15 关于sp验证的一些东西,求告知如何解决,
  • ¥20 关于#javascript#的问题:但是我写的只能接码数字和字符,帮我写一个解码JS问题
  • ¥15 prophet运行报错,如何解决?
  • ¥15 用GPU跑pytorch搭建的LSTM的时候出现了奇怪的报错
  • ¥20 前端数据是从session等作用域拿到的,如何取值继续传递后端呢
  • ¥15 eclipse无法正常运行
  • ¥15 定义了函数,但是无法根据函数定义触发器
  • ¥20 5变量卡诺图化简得出与非门电路图