Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to find any master var store for loader #395

Open
galtline opened this issue Jan 4, 2021 · 11 comments
Open

unable to find any master var store for loader #395

galtline opened this issue Jan 4, 2021 · 11 comments

Comments

@galtline
Copy link

galtline commented Jan 4, 2021

I can still launch from Basic.SH but I am not able to load from Virtual Machine. I followed the directions here:

https://passthroughpo.st/new-and-improved-mac-os-tutorial-part-1-the-basics/#disqus_thread

When I start the Virtual machine from VMM.

Error starting domain: operation failed: unable to find any master var store for loader: /Documents/macOS-Simple-KVM/firmware/OVMF_CODE.fd

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 66, in newfn
ret = fn(self, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1279, in startup
self._backend.create()
File "/usr/lib/python3/dist-packages/libvirt.py", line 1234, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirt.libvirtError: operation failed: unable to find any master var store for loader: /Documents/macOS-Simple-KVM/firmware/OVMF_CODE.fd

@mike-lloyd03
Copy link

I was having the same problem but I figured it out. For some reason, git cloning the repo does not include OVMF_VARS-1024x768.fd. Downloading the file and moving it into the firmware directory fixed the problem.

@Sepehr13
Copy link

Sepehr13 commented Feb 27, 2021

i'm having the same problem and the file "OVMF_VARS-1024x768.fd" exists but the error is still there

`Error starting domain: operation failed: unable to find any master var store for loader: "/media/sepehr/Local Disk/MacKVM/macOS-Simple-KVM/firmware/OVMF_CODE.fd"

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 66, in newfn
ret = fn(self, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1279, in startup
self._backend.create()
File "/usr/lib/python3/dist-packages/libvirt.py", line 1234, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirt.libvirtError: operation failed: unable to find any master var store for loader: "/media/sepehr/Local Disk/MacKVM/macOS-Simple-KVM/firmware/OVMF_CODE.fd"`

@richterlevania3
Copy link

Had this same problem. Manjaro Linux on a Ryzen 3600X. One entire SSD for it. At this point I will just leave it.

@HaleTom
Copy link

HaleTom commented Dec 1, 2021

My error message specified $HOME/OSX-KVM/OVMF_CODE.fd which didn't exist because I didn't git clone under $HOME. I moved symlinked to the correct directory and the error went away.

Is there any way of setting the expected directory?

@BongSolo
Copy link

My error message specified $HOME/OSX-KVM/OVMF_CODE.fd which didn't exist because I didn't git clone under $HOME. I moved symlinked to the correct directory and the error went away.

Is there any way of setting the expected directory?

i had same issue i ended up editing the xml file finding all the entries with $HOME/OSX-KVM/ with whatever dir my files are in. Hope this makes sense.

@ghost
Copy link

ghost commented Dec 23, 2021

On Mint 20.1:
Error starting domain: operation failed: unable to find any master var store for loader: /home/frederic/macOS-Simple-KVM/firmware/OVMF_CODE.fd

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 66, in newfn
ret = fn(self, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1279, in startup

@OmkoBass
Copy link

You might be able to fix this by using
sudo ./make.sh --add
instead of
./make.sh --add

@ghost
Copy link

ghost commented Jan 26, 2022 via email

@cilahn
Copy link

cilahn commented Mar 29, 2022

First foxlet thank you for your hard work going into this. Second, i could trigger this bug when using virt-manager. If you delete the virtual machine added via sudo ./make --add the and allow virt-manager to delete all files the 'OVMF_VARS-1024x768.fd' gets deleted too - even it's not listed for deletion.
Hope it helps a bit.

@notAperson535
Copy link

@cilahn I wouldn't let virt-manager delete the files

@fredericodevbtw
Copy link

This fixed the error for me, thanks @cilahn!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants