Skip to content

system firmware block device pflash0 has invalid size 296960 #1861

@miksch123

Description

@miksch123

I confirm this bug has not already been reported

  • I have searched the issues and this bug has not been reported previously

Describe the bug
Since updating to the latest versions of WSL2, ubuntu 24.4 and the latest version of quickemu launching freshly created VMs runs into the following:

To Reproduce
Steps to reproduce the behaviour:

  1. Run 'quickget macos sequoia' and let it finish (the version of mac os is not important)
  2. run command 'quickemu --vm macos-sequoia.conf'

Expected behaviour
The VM boots up and gives you 3 options to choose from: the basesystem, the efi and an executable shell

Quickemu output
quickemu --vm macos-sequoia.conf
Quickemu 4.9.8 using /usr/bin/qemu-system-x86_64 v8.2.2

  • Host: Ubuntu 24.04.3 LTS running Linux 6.6.87.2-microsoft-standard-WSL2 OTX-DXT5BS3
  • CPU: 12th Gen Intel(R) Core(TM) i7-12800H
  • CPU VM: host, 1 Socket(s), 4 Core(s), 2 Thread(s)
  • RAM VM: 8G RAM
  • BOOT: EFI (macOS), OVMF (OVMF_CODE.fd), SecureBoot (off).
  • Disk: macos-sequoia/disk.qcow2 (128G)
    Just created, booting from macos-sequoia/RecoveryImage.img
  • Recovery: macos-sequoia/RecoveryImage.img
  • Display: SDL, VGA, GL (on), VirGL (off) @ (1280 x 800)
  • Sound: intel-hda (hda-micro)
  • ssh: On host: ssh user@localhost -p 22220
  • 9P: On guest: sudo mount_9p Public-mario
  • 9P: On host: chmod 777 /home/mario
    Required for macOS integration 👆
  • Network: User (virtio-net-pci)
  • Monitor: On host: socat -,echo=0,icanon=0 unix-connect:macos-sequoia/macos-sequoia-monitor.socket
  • Serial: On host: socat -,echo=0,icanon=0 unix-connect:macos-sequoia/macos-sequoia-serial.socket
  • Process: ERROR! Failed to start macos-sequoia.conf as macos-sequoia

qemu-system-x86_64: system firmware block device pflash0 has invalid size 296960
qemu-system-x86_64: info: its size must be a non-zero multiple of 0x1000

using the olf .fd files from other machines helped in getting it somewhat functional. (i started with version 4.9.7 of quickemu)

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