A customer I am working with has gotten a request to convert their images from BIOS boot over to UEFI boot in PVS. After reading many articles and trying many processes I have put together this method as the best. We will see more of these conversions in the future, as Citrix is working to remove BIOS support for PVS in future versions.
- Reverse image your VM back to your VMWARE hypervisor.
- Set this reversed VM to boot off of the local hard drive in the bios.
- If this is a server OS, copy the MBR2GPT.exe from a Desktop OS machine. I placed mine in the c:\temp folder.
- From an admin command prompt run the following command. c:\temp\mbr2gpt.exe /convert /allowFullOS
- After the conversion is complete, fully shutdown the VM.
- In VMWare change the settings for the VM from BIOS to EFI under VM Options -> Boot Options -> Firmware
- Boot the VM, and verify that it successfully boots into Windows.
- Shut the VM down, set it to boot into the EFI setup and adjust your boot order to boot from NIC.
- Re-capture the converted VM as you have previously.
The only issues I have seen with this process are DHCP boot options not sending EFI options. Follow the Citrix documentation for setting up the proper EFI boot options on your DHCP scopes.
https://docs.citrix.com/en-us/provisioning/current-release/configure/configure-uefi.html