Linux CentOS“;内核配置无效";生成来宾添加时出错
我已经通过VirtualBox在我的Windows 10计算机上安装了CentOS。我知道安装guest additions(设备->插入guest additions CD映像)将安装guest additions,但在构建guest additions时,我遇到以下错误:Linux CentOS“;内核配置无效";生成来宾添加时出错,linux,centos,Linux,Centos,我已经通过VirtualBox在我的Windows 10计算机上安装了CentOS。我知道安装guest additions(设备->插入guest additions CD映像)将安装guest additions,但在构建guest additions时,我遇到以下错误: ERROR: Kernel configuration is invalid. include/generated/autoconfig.h or include/config/auto.conf are missing.
ERROR: Kernel configuration is invalid. include/generated/autoconfig.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it
我已经导航到/usr/src/目录并执行了推荐的命令,但是我得到:
make *** No rule to make target 'oldconfig'. Stop.
不知道从这里走到哪里。我做不到这一点,但请听我说一个解决办法。 RHEL于2018年10月30日发布了7.6版本,该版本将虚拟盒上的来宾添加内容搞得一团糟。检查 有了这些糟糕的客人,我面临着多重麻烦:
- 鼠标右键单击无法处理在虚拟框中打开的应用程序
- 一段时间后,鼠标完全停止工作
希望这有帮助。我通常会发现(1)缺少内核头,或者(2)需要运行yum升级。内核和头文件都是最新的吗?我投票结束这个问题,因为它现在属于同一条船,无法找到前进的道路。