Error: Required EFI firmware settings file missing

hi
I created a lxd VM, but not able to start it.
while starting get the following error
Error: Required EFI firmware settings file missing: /usr/share/OVMF/OVMF_VARS.ms.fd
can anyone help me on this?

1 Like

Pretty much what it says, if you’re not using the snap package which includes everything that’s needed, you need to have the OVMF variables for Microsoft SecureBoot at the path listed above, apparently you don’t.

You could try setting security.secureboot=false on the instance so it only uses OVMF_VARS.fd instead of OVMF_VARS.ms.fd

thank you !

after I set security.secureboot=false on the instance, the error message shows:" Error: Required EFI firmware settings file missing: /usr/share/OVMF/OVMF_VARS.fd
Try lxc info --show-log ins-fc997f237dbe481190b49b40c896f5c7 for more info".
And if I try ‘lxc info --show-log …’, the error message shows:" Error: open /var/log/lxd/3fa160d956d84b70893ba918d56dc286_ins-fc997f237dbe481190b49b40c896f5c7/qemu.log: no such file or directory".
can you help me on this?

You need to install the package in your OS that provides this file:

In Ubuntu its called ovmf .

Thank you.