Hi
I have an issue getting Multipass working? It’s an AUR package.
When I try to run it, I get
$ sudo multipass launch 22.04 -vvvv
.
.
.
[2024-11-03T10:52:44.802] [debug] [informed-wigeon] process working dir ''
[2024-11-03T10:52:44.802] [info] [informed-wigeon] process program 'qemu-system-x86_64'
[2024-11-03T10:52:44.802] [info] [informed-wigeon] process arguments '-bios, OVMF.fd, --enable-kvm, -cpu, host, -nic, tap,ifname=tap-1ec20fe51e3,script=no,downscript=no,model=virtio-net-pci,mac=52:54:00:a8:ad:48, -device, virtio-scsi-pci,id=scsi0, -drive, file=/var/lib/multipassd/.local/share/multipassd/vault/instances/informed-wigeon/ubuntu-22.04-server-cloudimg-amd64.img,if=none,format=qcow2,discard=unmap,id=hda, -device, scsi-hd,drive=hda,bus=scsi0.0, -smp, 1, -m, 1024M, -qmp, stdio, -chardev, null,id=char0, -serial, chardev:char0, -nographic, -L, /usr/share/ovmf/, -L, /usr/share/ovmf/x64/, -L, /usr/share/qemu/, -cdrom, /var/lib/multipassd/.local/share/multipassd/vault/instances/informed-wigeon/cloud-init-config.iso'
[2024-11-03T10:52:44.810] [debug] [qemu-system-x86_64] [670584] started: qemu-system-x86_64 -nographic -dump-vmstate /tmp/multipassd.ukSPNS
[2024-11-03T10:52:44.851] [debug] [daemon] Applied AppArmor policy: multipass.informed-wigeon.qemu-system-x86_64
[2024-11-03T10:52:44.852] [info] [informed-wigeon] process state changed to Starting
[2024-11-03T10:52:44.860] [info] [informed-wigeon] process state changed to Running
[2024-11-03T10:52:44.861] [debug] [informed-wigeon] Adding firmware directory: /usr/share/ovmf/
[2024-11-03T10:52:44.861] [debug] [informed-wigeon] Adding firmware directory: /usr/share/ovmf/x64/
[2024-11-03T10:52:44.861] [debug] [informed-wigeon] Adding firmware directory: /usr/share/qemu/
[2024-11-03T10:52:44.861] [debug] [qemu-system-x86_64] [670589] started: qemu-system-x86_64 -bios OVMF.fd --enable-kvm -cpu host -nic tap,ifname=tap-1ec20fe51e3,script=no,downscript=no,model=virtio-net-pci,mac=52:54:00:a8:ad:48 -device virtio-scsi-pci,id=scsi0 -drive file=/var/lib/multipassd/.local/share/multipassd/vault/instances/informed-wigeon/ubuntu-22.04-server-cloudimg-amd64.img,if=none,format=qcow2,discard=unmap,id=hda -device scsi-hd,drive=hda,bus=scsi0.0 -smp 1 -m 1024M -qmp stdio -chardev null,id=char0 -serial chardev:char0 -nographic -L /usr/share/ovmf/ -L /usr/share/ovmf/x64/ -L /usr/share/qemu/ -cdrom /var/lib/multipassd/.local/share/multipassd/vault/instances/informed-wigeon/cloud-init-config.iso
[2024-11-03T10:52:44.862] [info] [informed-wigeon] process started
launch failed: The following errors occurred:
qemu: could not load PC BIOS 'OVMF.fd'
informed-wigeon: shutdown called while starting
The file is present in the search folder:
$ ls -lr /usr/share/ovmf/x64/
total 29408
-rw-r--r-- 1 root root 131072 nov. 24 2023 OVMF_VARS.fd
-rw-r--r-- 1 root root 540672 nov. 24 2023 OVMF_VARS.4m.fd
-rw-r--r-- 1 root root 2097152 nov. 24 2023 OVMF.fd
-rw-r--r-- 1 root root 1966080 nov. 24 2023 OVMF_CODE.secboot.fd
-rw-r--r-- 1 root root 3653632 nov. 24 2023 OVMF_CODE.secboot.4m.fd
-rw-r--r-- 1 root root 1966080 nov. 24 2023 OVMF_CODE.fd
-rw-r--r-- 1 root root 1966080 nov. 24 2023 OVMF_CODE.csm.fd
-rw-r--r-- 1 root root 3653632 nov. 24 2023 OVMF_CODE.csm.4m.fd
-rw-r--r-- 1 root root 3653632 nov. 24 2023 OVMF_CODE.4m.fd
-rw-r--r-- 1 root root 4194304 nov. 24 2023 OVMF.4m.fd
-rw-r--r-- 1 root root 2097152 nov. 24 2023 MICROVM.fd
-rw-r--r-- 1 root root 4194304 nov. 24 2023 MICROVM.4m.fd
The same issue is described here
The aur package has a patch in place resolving this, AUR
On my ArchLinux installation, Multipass works. But on Manjaro it doesn’t. Looking on the log, it seems like the patch is applied and multipass is searching the added paths for the file. And a ls
even shows that the file is present.
Initially multipass only checks /usr/share/qemu/
for the bios file. But the patch in the AUR package adds /usr/share/ovmf/x64/
to the search path. In the github issue, linking the files from the ovmf folder til the qemu folder was suggested as a working fix, but it didn’t work for me. I’ve even tried to copy the bios files to to the qemu folder. But no luck.
Have anyone got Multipass working? Or does anyone have any tips on what to try next?
Orjanp