I would like to create a new empty VM using windows image
But that fails with the information that
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
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
wont do the job, so where can I get the file from.
Code:
lxc init win11 --vm --empty
Quote:
Creating win11
Error: Failed creating instance record: Instance type "virtual-machine" is not supported on this server: QEMU failed to run feature checks
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
Installing
Code:
sudo apt install ovmf