Skip to content

Can't boot Fedora Cloud and CoreOS images #412

@srprca

Description

@srprca

Hello!

I have been trying booting Fedora Cloud and Fedora CoreOS images, after unpacking both and converting the CoreOS image from .qcow2 to .raw, using the following commands:

For Fedora Cloud:

cloud-hypervisor --kernel ./hypervisor-fw --disk path=./Fedora-Cloud-Base-AmazonEC2-43-1.6.x86_64.raw --cpus boot=4 --memory size=1024M --serial tty --console off

It doesn't start, and I see the following output:

[INFO] Setting up 4 GiB identity mapping
[INFO] Page tables setup
[INFO] Booting with PVH Boot Protocol
[INFO] Found PCI device vendor=8086 device=d57 in slot=0
[INFO] Found PCI device vendor=1af4 device=1042 in slot=1
[INFO] Found PCI device vendor=1af4 device=1044 in slot=2
[INFO] PCI Device: 0:1.0 1af4:1042
[INFO] Bar: type=MemorySpace32 address=0xe7f80000 size=0x80000
[INFO] Bar: type=MemorySpace32 address=0x0 size=0x0
[INFO] Bar: type=MemorySpace32 address=0x0 size=0x0
[INFO] Bar: type=MemorySpace32 address=0x0 size=0x0
[INFO] Bar: type=MemorySpace32 address=0x0 size=0x0
[INFO] Bar: type=MemorySpace32 address=0x0 size=0x0
[INFO] Updated BARs: type=MemorySpace32 address=e7f80000 size=80000
[INFO] Updated BARs: type=MemorySpace32 address=0 size=0
[INFO] Updated BARs: type=MemorySpace32 address=0 size=0
[INFO] Updated BARs: type=MemorySpace32 address=0 size=0
[INFO] Updated BARs: type=MemorySpace32 address=0 size=0
[INFO] Updated BARs: type=MemorySpace32 address=0 size=0
[INFO] Virtio block device configured. Capacity: 10485760 sectors
[INFO] Found EFI partition
[INFO] Filesystem ready
[WARN] Error loading default entry: File(NotFound)
[INFO] Using EFI boot.
[INFO] Found bootloader: \EFI\BOOT\BOOTX64.EFI
[ERROR] Error loading executable: FileError
PANIC: panicked at src/main.rs:290:5:
Unable to boot from any virtio-blk device

For Fedora CoreOS:

cloud-hypervisor --kernel ./hypervisor-fw --disk path=./fedora-c oreos-43.20251214.3.0-qemu.x86_64.raw --cpus boot=4 --memory size=1024M --serial tty --console off

It doesn't start, and I see the following output:

[INFO] Setting up 4 GiB identity mapping
[INFO] Page tables setup
[INFO] Booting with PVH Boot Protocol
                                                                                                     [INFO] Found PCI device vendor=8086 device=d57 in slot=0
[INFO] Found PCI device vendor=1af4 device=1042 in slot=1
[INFO] Found PCI device vendor=1af4 device=1044 in slot=2
[INFO] PCI Device: 0:1.0 1af4:1042
[INFO] Bar: type=MemorySpace32 address=0xe7f80000 size=0x80000
[INFO] Bar: type=MemorySpace32 address=0x0 size=0x0
[INFO] Bar: type=MemorySpace32 address=0x0 size=0x0
[INFO] Bar: type=MemorySpace32 address=0x0 size=0x0
[INFO] Bar: type=MemorySpace32 address=0x0 size=0x0
[INFO] Bar: type=MemorySpace32 address=0x0 size=0x0
[INFO] Updated BARs: type=MemorySpace32 address=e7f80000 size=80000
[INFO] Updated BARs: type=MemorySpace32 address=0 size=0
[INFO] Updated BARs: type=MemorySpace32 address=0 size=0
[INFO] Updated BARs: type=MemorySpace32 address=0 size=0
[INFO] Updated BARs: type=MemorySpace32 address=0 size=0
[INFO] Updated BARs: type=MemorySpace32 address=0 size=0
[INFO] Virtio block device configured. Capacity: 20971520 sectors
[INFO] Found EFI partition
[INFO] Filesystem ready
[WARN] Error loading default entry: File(NotFound)
[INFO] Using EFI boot.
[INFO] Found bootloader: \EFI\BOOT\BOOTX64.EFI
[INFO] Executable loaded
TPM logging failed: Unsupported
Could not create MokListRT: Unsupported
TPM logging failed: Unsupported
Could not create MokListXRT: Unsupported
TPM logging failed: Unsupported
Could not create MokListTrustedRT: Unsupported
Something has gone seriously wrong: import_mok_state() failed: Unsupported
TPM logging failed: Unsupported
Could not create variable: Unsupported

Both images start fine if I use edk2 UEFI firmware from here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions