VMware中安装64位操作系统时“This host supports Intel VT-x, but Intel VT-x is disabled”错误提示的解决方案
在VMware虚拟机中安装64位操作系统时,如果你的主机不支持虚拟化技术,或者是虚拟化技术未被启用时,会有如下错误提示:
This virtual machine is configured for 64-bit guest operating systems. However, 64-bit operation is not possible.
This host supports Intel VT-x, but Intel VT-x is disabled.
Intel VT-x might be disabled if it has been disabled in the BIOS/firmware settings or the host has not been power-cycled since changing this setting.
(1) Verify that the BIOS/firmware settings enable Intel VT-x and disable 'trusted execution.'
(2) Power-cycle the host if either of these BIOS/firmware settings have been changed.
(3) Power-cycle the host if you have not done so since installing VMware Workstation.
(4) Update the host's BIOS/firmware to the latest version.
错误提示对话框如下图所示:
此提示大体的含义为:
您已经配置此虚拟机使用64位客户操作系统。然而,64位操作系统不可用。此主机具有虚拟化支持能力,但虚拟化技术被禁用。
这通常是因为虚拟化技术已经在BIOS/固件设置禁用或主机没有权限改变此设置。 请:
(1) 验证 BIOS/固件设置, 启用Intel VT-x 并禁用“trusted execution”。
(2) 如果更改了这些 BIOS/固件设置,请重新启动主机电源。
(3) 如果在安装了VMware Workstation后你没有进行过这些设置,请重启主机电源并进行设置。
(4) 将主机的BIOS/固件更新到最新版本。
因为错误中已经提示了主机支持Intel VT-x技术,但是此项功能未被启用。因此,造成此错误的原因就是BIOS中固件的设置有问题,Intel VT-x虚拟技术未被启用。
重启电脑,按F1进入BIOS设置界面,如下图所示,在Security选项卡中选择“Virtualization”选项,回车,进入Virtualization设置界面。
如下图所示,在Virtualization设置界面中将“Intel (R) Virtualization Technology”和“Intel (R) VT-d Feature”两个选项的值全部设置为“Enabled”。
然后按F10,保存BIOS固件设置,并重启电脑,即可解决此问题。
附:
(1)个人解决此问题时的案例参数:Thinkpad笔记本电脑,64位Win7系统,在VMware中安装64位Ubuntu系统。
(2)查看电脑CPU是否支持VT-x虚拟技术
可使用CPU-Z来查看电脑的CPU是否支持VT-x虚拟技术。如下图所示,如果在处理器的指令集中有VT-x指令,就说明CPU支持VT-x虚拟技术。