VirtualBox中安装增强工具失败
2016-12-23 00:00
417 查看
在virtualbox中安装centos6.4后,再安装增强工具失败。
** 安装报错如下 **
Building the VirtualBox Guest Additions kernel modules [FAILED]
Your system does not seem to be set up to build kernel modules.
Look at /var/log/vboxadd-install.log to find out what went wrong.
Once you have corrected it, you can run /etc/init.d/vboxadd setup to build them.
查看错误日志:
/tmp/vbox.o/Makefile.include.header:97: ***
Error: unable to find the source of your current Linux kernel.Specify KERN_DIR=<directory> and run make again. Stop.
** 解决方法 **
yum install -y kernel-headers
yum install -y kernel-devel
yum install -y gcc*
yum install -y make
检查 uname -r 和 /usr/src/kernels/[version] 是否匹配. 不匹配则yum update令二者兼容
重启服务器,再次安装 增强功能包,ok
** 安装报错如下 **
Building the VirtualBox Guest Additions kernel modules [FAILED]
Your system does not seem to be set up to build kernel modules.
Look at /var/log/vboxadd-install.log to find out what went wrong.
Once you have corrected it, you can run /etc/init.d/vboxadd setup to build them.
查看错误日志:
/tmp/vbox.o/Makefile.include.header:97: ***
Error: unable to find the source of your current Linux kernel.Specify KERN_DIR=<directory> and run make again. Stop.
** 解决方法 **
yum install -y kernel-headers
yum install -y kernel-devel
yum install -y gcc*
yum install -y make
检查 uname -r 和 /usr/src/kernels/[version] 是否匹配. 不匹配则yum update令二者兼容
重启服务器,再次安装 增强功能包,ok
相关文章推荐
- VirtualBox安装centos6.0增强工具时报错Building the main Guest Additions modules [失败]
- 使用virtualbox安装VBoxGuestAdditions增强工具 共享文件夹失败问题
- 解决virtualbox安装增强工具失败的问题
- Virtualbox安装增强工具失败
- VirtualBox安装centos5.3增强工具时报错Building the main Guest Additions modules [失败]
- VirtualBox环境下Debian安装增强工具失败
- 宿主系统为Ubuntu 14,CentOS 6.5 安装VirtualBox增强工具失败:Building the OpenGL support module[FAILED]
- virtualbox安装增强工具失败解决方法
- 安装VirtualBox增强工具失败的解决办法?
- CentOS 6.3 中安装VirtualBOX增强工具失败:Building the main Guest Additions module[FAILED]
- virtualbox中fedora17安装增强工具失败 Building the main Guest Additions module [失败]
- VirtualBox安装增强工具报错(附VirtualBox共享文件夹)
- 在ubuntu12.04 virtualbox4.2中xp 安装增强功能工具
- [转]virtualbox下安装增强工具简单步骤
- virtualbox 安装centos6.x 增强工具
- virtualbox 4.08安装虚机Ubuntu11.04增强功能失败解决方法
- virtualbox增强工具的安装
- Redhat 5.4 安装Vbox 增强工具失败解决方法。
- VirtualBox中增强工具的安装
- Redhat 5.4 安装Vbox 增强工具失败解决方法。