GitHub user SviridoffA added a comment to the discussion: Need help with 
migrating a virtual machine from VMware to KVM

Guys,  thank you everyone for your assistance. I successfully migrated the 
virtual machine. I’m using Ubuntu on the KVM hosts, and OVMF was already 
installed. I created a file /etc/cloudstack/agent/uefi.properties and 
configured it with:
```
guest.nvram.template.secure=/usr/share/OVMF/OVMF_VARS_4M.ms.fd
guest.nvram.template.legacy=/usr/share/OVMF/OVMF_VARS_4M.fd
guest.nvram.path=/var/lib/libvirt/qemu/nvram/
guest.loader.secure=/usr/share/OVMF/OVMF_CODE_4M.secboot.fd
guest.loader.legacy=/usr/share/OVMF/OVMF_CODE_4M.fd
```
configured VM with: UEFI - secure, controller - virtio

after this I get BSOD - inaccessible boot device
I boot in recovery mode, and add driver from virtio-win.iso for my system.
```
dism /image:c:\ /add-driver /driver:d:\viostor\2k19\amd64\viostor.inf
```
After this I'm able to boot my VM without any problem.
So my root issue was uncofigured UEFI support on KVM hosts.

GitHub link: 
https://github.com/apache/cloudstack/discussions/10984#discussioncomment-13435560

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to