vmware中ubuntu遇到vmtools安装问题
时间:2009-03-29
来源:互联网
我在vmware中安装了ubuntu,然后在命令行安装vmware-tools。运行vmware-install.pl,一路回车,挺顺利的。
到了vmware-config-tools.pl这一步,卡在指定c header files location这里。
What is the location of the directory of C header files that match your running kernel?
缺省目录给的是[/usr/src/linux/include]
我看了下系统里面/usr/src下面有两个
/linux-2.6.27-7和/linux-2.6.27-7-generic,都指定了试试,结果失败。
在网上查了一圈,回头再安装
sudo apt-get install build-essential
sudo apt-get install linux-headers-2.6.27-7-generic, 这个2.6.27-7-generic是用uname -a 看到的。
继续config,还是卡在那里,把目录指到/usr/src/linux-headers-2.6.27-7-generic/include,提示:
The directory of kernel headers (version @@VMWARE@@ UTS_RElEASE) does not match
your running kernel (version 2.6.27-7-generic). Even if the module were to compie successfully,
it would not load into the running kernel.
指到/usr/src/linux-headers-2.6.27-7/include也不行。
搞不定了,请高手指点一二。
到了vmware-config-tools.pl这一步,卡在指定c header files location这里。
What is the location of the directory of C header files that match your running kernel?
缺省目录给的是[/usr/src/linux/include]
我看了下系统里面/usr/src下面有两个
/linux-2.6.27-7和/linux-2.6.27-7-generic,都指定了试试,结果失败。
在网上查了一圈,回头再安装
sudo apt-get install build-essential
sudo apt-get install linux-headers-2.6.27-7-generic, 这个2.6.27-7-generic是用uname -a 看到的。
继续config,还是卡在那里,把目录指到/usr/src/linux-headers-2.6.27-7-generic/include,提示:
The directory of kernel headers (version @@VMWARE@@ UTS_RElEASE) does not match
your running kernel (version 2.6.27-7-generic). Even if the module were to compie successfully,
it would not load into the running kernel.
指到/usr/src/linux-headers-2.6.27-7/include也不行。
搞不定了,请高手指点一二。
作者: koala0808 发布时间: 2009-03-29
sudo apt-get install build-essential 这是安装编译环境等
sudo apt-get install linux-headers******* 这是安装内核头文件,你选的版本不对
最后安装VMtools
sudo apt-get install linux-headers******* 这是安装内核头文件,你选的版本不对
最后安装VMtools
作者: 相思爱文 发布时间: 2009-03-31
用不带generic的试试。
我用的不是ubuntu,不十分清楚
我用的不是ubuntu,不十分清楚
作者: 相思爱文 发布时间: 2009-03-31
最近安装ubuntu也遇到同样问题,后来人可以参考参考。可能是虚拟机的版本太低,ubuntu的版本与之不匹配。找一个更高版本的虚拟机linux.iso 将原来的旧版本的linux.iso 覆盖,或者将其指定到虚拟机的CD-ROM中重新加载。之后再按原来步骤逐步安装即可。
作者: youth13 发布时间: 2011-09-06
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28