错误:
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]
Initializing...
This configuration program is to be executed in a virtual machine.
Execution aborted.
原因:
这个问题可能是由于仅仅是指更新了VM tools ,但是VMware hardware却未更新,导致二者不兼容。
参看:http://communities.vmware.com/thread/418443?start=0&tstart=0
解决方法:
先更新VM tools ,然后再更新VMware hardware
更新VM tools 已经更新了,所以现在来更新VMware hardware
注意:更新VMware hardware之前,建议首先保存一下现有的版本,因为VMware hardware更新完后,是不可恢复的,
故而首先保存一下现有的版本,防止万一出现更新失败的状况。
1、 Power off the virtual machine.
2、 Upgrade Virtual Hardware.(关闭虚拟机就可以看到的)
3、 Compatibility > Upgrade VM Compatibility.
4、Click Yes to continue with the virtual hardware upgrade.
5、Power on the virtual machine.
6、重启后再重新更新一下VM tools
注:下面的步骤 2) + 3) can be avoided by this step 2a below :
2a. cp '/media/VMware Tools/VMwareTools-<version>.tar.gz' /tmp/
1)、Click VM in the virtual machine menu, Install VMware Tools and click OK.
2)、 mount /dev/cdrom /mnt/cdrom
3)、 cp /mnt/cdrom/VMwareTools-<version>.tar.gz /tmp/
4)、 cd /tmp
5)、 tar -zxvf VMwareTools-<version>.tar.gz
6)、 cd vmware-tools-distrib
7)、./vmware-install.pl
参看:http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1010675
Upgrading virtual hardware on a single virtual machine