I've captured my physical machine (OS Drive) using Windows PE and made a WIM. I've applied it to a SEABIOS VM and it boots flawlessly and just works.
I want to do the same thing but to the OVMF UEFI VM. I've gotten pretty far applying the WIM and preparing the drive into an UEFI disk using Diskpart. This guide here got me really far but the machine fails to boot.
https://msdn.microsoft.com/en-us/windows/hardware/commercialize/manufacture/desktop/capture-and-apply-windows-system-and-recovery-partitions
Before capturing the OS, I manually installed the "VioStor" Windows 10 drivers by using Device manager and just forcing the install without having the Hard Drive Controller.
I just realized something, I was able to make the machine boot by changing the Primary vDisk Bus from VirtIO to SATA. My questions are:
Is it best to run VM with VirtIO or SATA bus? Is there a performance difference?
Is there a way to prepare a machine with the VistIO storage controllers before making a WIM?
Also is it best to use the VioStor driver W8.1 or W10 on a Windows 10 machine?
Please let me know if its worth the trouble to convert the machine and run with VioStor vs SATA for the primary vDisk.
Thanks