Migrate a VM from ESXi to Proxmox

Create a directory with enough space to store a copy of the VM you want to migrate

ovftool vi://root@<esxi host ip>:443/<vm name as it appears in the console> .

Once complete, cd to the new directory.

qm importovf <available vm id number> ./<name of vm>.ovf <storage short name> --format qcow2

Change the SCSI controller to VirtIO SCSI Single

If the VM was using EFI bios, set the BIOS to OVMF (UEFI).

You’ll also need to add an EFI disk if you need EFI to work.

Detach the primary boot device. Then re-add as a sata device. Otherwise, you’ll run into a BSOD when booting.

Add a scsi disk of 1gb and make sure it shows up in disk management in Windows. This will “tell” Windows to load the Virtio scsi driver.

Once booted, you can then shutdown, remove the scsi disk, detach the boot disk, then re-attach as scsi.

In Options, make sure the boot scsi disk is checked off as a boot device.

Attempt to boot the VM!