Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

cant create a new empty VM beacuse QEMU failed to run feature checks

$
0
0
I would like to create a new empty VM using windows image

Code:

lxc init win11 --vm --empty
But that fails with the information that

Quote:

Creating win11
Error: Failed creating instance record: Instance type "virtual-machine" is not supported on this server: QEMU failed to run feature checks
After a while i got this message when I tried to initialize lxd again

Quote:

ERROR [2024-02-15T16:45:15+01:00] Failed to start the daemon err="LXD is already running"
ERROR [2024-02-15T16:45:15+01:00] Unable to run feature checks during QEMU initialization: Unable to locate the file for firmware "OVMF_CODE.4MB.fd"
WARNING[2024-02-15T16:45:15+01:00] Instance type not operational driver=qemu err="QEMU failed to run feature checks" type=virtual-machine
Error: LXD is already running
So I assume that the problem is the missing "OVMF_CODE.4MB.fd" file in /usr/share/OVMF/.

Installing
Code:

sudo apt install ovmf
wont do the job, so where can I get the file from.

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>