Re: Trouble moving OVMF guest to new host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm running libvirt in user session and libvirt creates VARS part of OVMF in ~/.config/libvirt/qemu/nvram/

Check your xml, there should be lines like this:

<os>
    <type arch='x86_64' machine='pc-q35-2.7'>hvm</type>
    <loader readonly='yes' type='pflash'>/UEFI_OVMF/OVMF_CODE.fd</loader>
    <nvram>/home/username/.config/libvirt/qemu/nvram/vm_VARS.fd</nvram>


--Regards, Aleksei



From: Bashe, Joe
Sent: Wednesday, February 08, 2017 7:53PM
To: Libvirt-users
Subject: Trouble moving OVMF guest to new host
Hello,

I recently had to reinstall my operating system on my computer. I made a backup of the entire partition beforehand onto an external drive. Now I am trying to import a VM from that backup onto the newly installed system.

What I've done so far:
  • copied over the qcow2 disk image
  • copied over the XML config file
  • copied over the OVMF files under /usr/share/edk2.git/ovmf-x64/
I am getting this error whenever I try to boot the VM:

Error starting domain: operation failed: unable to find any master var store for loader: /usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd

The file /usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd does exist. 

Where would the "master var store" be located?

Thank you,

Joe
--
Joseph Bashe
Technical Director
Bashe Development
+1 (323) 999-1731


_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux