Replace windows VM's EFI disk with a new EFI disk

Zananok

Member
Dec 2, 2020
7
0
6
33
I am trying to replace windows VM's EFI disk with a new EFI disk.

Steps: I removed the current EFI disk from the config, from the existing and working windows 10/11 VM, created a new EFI disk, and attached it to the VM.
Issue: It won't boot up with the new EFI disk. Loading the original EFI disk works.

More details: I followed this documentation to a degree (as it's intended for Debian/linux VMs): https://pve.proxmox.com/wiki/OVMF/UEFI_Boot_Entries, and created a boot for both files that exist on the "EFI/windows" folder, but it then goes to Windows recovery blue window, concludes that it cannot fix the Windows startup and leaves me at the Windows recovery options menu.

I am guessing that either the Windows boot sequence is locked to the original EFI boot, or I have configured the new EFI disk wrong. I have a higher belief in the former.

Any suggestions on how to successfully replace the EFI disk with the new one?


Regards,
Zananok
 
I am trying to replace windows VM's EFI disk with a new EFI disk.

Steps: I removed the current EFI disk from the config, from the existing and working windows 10/11 VM, created a new EFI disk, and attached it to the VM.
Issue: It won't boot up with the new EFI disk. Loading the original EFI disk works.

More details: I followed this documentation to a degree (as it's intended for Debian/linux VMs): https://pve.proxmox.com/wiki/OVMF/UEFI_Boot_Entries, and created a boot for both files that exist on the "EFI/windows" folder, but it then goes to Windows recovery blue window, concludes that it cannot fix the Windows startup and leaves me at the Windows recovery options menu.

I am guessing that either the Windows boot sequence is locked to the original EFI boot, or I have configured the new EFI disk wrong. I have a higher belief in the former.

Any suggestions on how to successfully replace the EFI disk with the new one?


Regards,
Zananok
I think I got it working, following the suggestion to first update virtio drivers.

More here:
https://forum.proxmox.com/threads/w...secure-boot-after-install-with-old-efi.98646/
 
  • Like
Reactions: Zananok
Hello,

I'm having the exact same problem. I have to replace EFI disks on a bunch of Windows servers 2019 because of this:
https://forum.proxmox.com/threads/kb5012170-fails-to-install-on-win11-host.113561/
Haha, that's precisely my reason

I think I got it working, following the suggestion to first update virtio drivers.

More here:
https://forum.proxmox.com/threads/w...secure-boot-after-install-with-old-efi.98646/
Thank you very much will check it out tonight!