让VMware支持EFI启动方式

作者: Windows Hao 发布于:2012-05-10 分类: 技术文献

(U)EFI is the next generation of BIOS.  When you install ESXi 5.0 on VMware Workstation 8, it just uses a regular BIOS.

It is however possible to use EFI instead of BIOS.

The vSphere Installation and Setup guide states that you shouldn’t change the boot type from BIOS to EFI on an already installed ESXi host.  It does work however in VMware Workstation.  But for production systems, just stick to the guide and reinstall the host using EFI instead of BIOS on your hardware server.

 

Now, your normal Virtualized vSphere host in VMware Workstation uses a BIOS.  Notice this in the startup screen when you boot the VM:

让VMware由bios启动方式,转而支持EFI启动方式_第1张图片

Power down your Virtual ESXi host.  Go to the location where the vmx file is stored and edit it with your favorite editor.

让VMware由bios启动方式,转而支持EFI启动方式_第2张图片

Add the line firmware = “efi” somewhere in the vmx file.

让VMware由bios启动方式,转而支持EFI启动方式_第3张图片

Close and save the vmx file.  Power On the ESXi host.  You’ll notice the progress bar at the bottom during the boot is gone:

让VMware由bios启动方式,转而支持EFI启动方式_第4张图片

If you look into the vmware.log you can also see some references that he’s using EFI now:

点击查看原图

Et voila, your ESXi hosts are now booting from EFI instead of BIOS!

 

Tip: if you press ESC during the boot, you can configure some EFI parameters.  Play with it and learn to know if since EFI will replace BIOS gradually!

让VMware由bios启动方式,转而支持EFI启动方式_第5张图片

 

 

 

转载: http://www.datarelab.com/blog/Technical_literature/VMware_EFI.html