FydeOS virtual machine - BdsDxe error

I’m trying to start a FydeOS virtual machine using Incus, but without luck (my host is vanilla Ubuntu 24.02 with ZFS backend and Incus 6.9 from Zabbly). When launching the VM, I see one of 3 things:

  1. with secureboot disabled, the process hangs on BdsDxe screen
  2. with secureboot enabled, I get Access Denied error
  3. when I rename .img file to iso, I get Not Found error

When process hangs, I see this:

BdsDxe: loading Boot0001 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x1,0x1)
BdsDxe: starting Boot0001 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x1,0x1)

I will be grateful for any help.

Installing VM from .img file (or .iso)

First, I downloaded the official FydeOS image file for AMD graphics (I’m using 5600G APU) and extracted .img file from .xz archive:

xz -d FydeOS_for_PC_apu_v19.0-io-stable.img.xz

Then I started an empty VM (FydeOS supports UEFI and Secure Boot, but I tried with security.secureboot=false and without):

incus init fydeos --empty --vm -c limits.cpu=4 -c limits.memory=8GiB -d root,size=30GiB -c security.secureboot=false
incus config set fydeos raw.qemu -- "-device intel-hda -device hda-duplex -audio spice"

FydeOS image comes with .img file extension. I tried attaching .img file and a file renamed to .iso:

incus config device add fydeos install disk source=/home/user/Downloads/FydeOS_for_PC_apu_v19.0-io-stable.img boot.priority=10
incus start fydeos --console=vga

When starting the VM, I see one of 3 things:

  1. with secureboot disabled, the process hangs on BdsDxe screen
  2. with secureboot enabled, I get Access Denied error
  3. when I rename .img file to iso, I get Not Found error

What am I doing wrong? Is this .img simply incompatible with Incus?

Installing VM from .ova file

There is also an image file of FydeOS for VMware. It comes with .ova extension.

I tried convering it into .raw file using qemu-img (based on tutorial Quick Notes on using Incus to run a .OVA File), but I got the same error.

Clearly I’m missing something. Any help will be greatly appreciated.

Access denied means that your OS image isn’t Secure Boot signed.

Try setting security.secureboot=false

That was the first thing I tried. Unfortunately, disabling Secure Boot didn’t work.

I double-checked, and with security.secureboot=false it simply hangs on:

BdsDxe: loading Boot0001 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x1,0x1)
BdsDxe: starting Boot0001 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x1,0x1)

If I rename .img file to .iso I get Not Found error:

BdsDxe: failed to load Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x1,0x1): Not Found
BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x0,0x1): Not Found

You still had Access Denied with secureboot disabled? That shouldn’t be possible…

Stéphane

No, with secureboot disabled, it just hangs. There are 3 conditions:

  1. secureboot disabled, installing from .img file - nothing happens, it hangs on BdsDxe
  2. secureboot enabled, installing from .img file - I get Access Denied error
  3. secureboot disabled or enabled, but installing from renamed to .iso file - I get Not Found error

I updated the first post with this information. I didn’t pay enough attention to the error messages, sorry for the confusion.

Okay, so the hanging csae may be an actual boot but with broken console output somehow?
Did you also try BIOS boot with security.csm=true security.secureboot=false?

I didn’t think about broken console output. There’s no CPU / GPU activity, so this .img file might simply be incompatible with Incus / Qemu. From what I’ve gathered, people couldn’t start FydeOS vm on proxmox as well.

Setting security.csm=true didn’t work.

I also tried burning FydeOS onto a USB drive, then creating .img file from it using Gnome Disks utility, and finally attaching that to the empty vm. No luck.

dd’ing USB drive onto disk and converting that to the .iso file with genisoimage didn’t work either.

VirtualBox failed to start a vm.

If I come up with something else, I’ll post it here. But there is a good chance that official FydeOS images don’t work with regular virtualization solutions.