Solved

How to properly deal with UEFI and Windows Server 2022 ?

  • 15 March 2023
  • 4 replies
  • 3429 views

Userlevel 1
Badge +3

Hi

As Microsoft advise / Windows Server 2022 isn’t Legacy BIOS compatible anymore, i have to set up a brand new template using UEFI.

However, if i tick “EFI” and Secure Boot from VM configuration or not, I can’t boot on my ISO at all. It still go to EFI Shell or in the UEFI Menu.

I also tried to update VirtIO drivers directly into my Windows image (on install.wim and boot.wim on all indexes) but i can’t go so far in the installation part.

 

Does anyone was able to use EFI settings with Windows Server 2022 ? If yes, what was your settings  ?

 

icon

Best answer by gael01 21 March 2023, 08:33

View original

This topic has been closed for comments

4 replies

Userlevel 1
Badge +3

@Rubén Bernardo Calvillo Marín here’s the step

  1. download an official ISO from Microsoft (in my case Windows Server 2022)
  2. download Nutanix VirtIO drivers from Support Portal

Follow the steps in that article https://thunderysteak.github.io/windows-setup-driver-injection and don’t forget to add drivers in every indexes of boot.wim and install.wim

 

Once you’re done , you can upload the new ISO on Prism Central and properly boot on, with UEFI settings enabled :)

how did you do that?

Userlevel 1
Badge +3

Actually i found out that i have to add VirtIO drivers to Windows Server 2022 iso (to every index of boot.wim and install.wim). By doing that, everything went well and i can boot on the image easily without error.

Userlevel 6
Badge +8

Is it in a boot loop? Boot from iso → reset → boot from iso → reset etc etc

Workaround for me is to add cpu_passthrough=true via cli to the vm.