qemus/qemu-docker

Problem with guest not booting with latest version of qemux/qemu-docker

Closed this issue · 2 comments

Operating system

Ubuntu 22.04.4 LTS

Description

Guest does not boot with from version qemux/qemu-docker:5.16 and onwards

Docker compose

services:
  test:
    container_name: cws
    image: qemux/qemu-docker:5.16
    environment:
      DISK_SIZE: "250G"
      RAM_SIZE: "16G"
      CPU_CORES: "8"
    volumes:
      - ./test.qcow2:/storage/data.qcow2
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 3389:3389
    stop_grace_period: 2m

Docker log

Below is log with qemux/qemu-docker:5.16 same is happening with qemux/qemu-docker:latest

UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (Debian distribution of EDK II, 0x00010000)
Mapping table
     BLK0: Alias(s):
          PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0)
     BLK1: Alias(s):
          PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0)/HD(1,GPT,299F1E4C-9B4F-4E0D-AC2A-D263F5EBAAFF,0x800,0x800)
     BLK2: Alias(s):
          PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0)/HD(2,GPT,D536CAFE-5DBC-4E90-8180-DBDF5328022C,0x1000,0x200000)
     BLK3: Alias(s):
          PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0)/HD(3,GPT,FC8DC287-89CE-46AB-8E25-8CE98FC44FE1,0x201000,0x61FE800)

Below is with qemux/qemu-docker:5.15 and the guest is working

SeaBIOS (version 1.16.3-debian-1.16.3-2)
Booting from Hard Disk...

Screenshots (optional)

screenshot from VNC with qemux/qemu-docker:5.16 same is happening with qemux/qemu-docker:latest

Screenshot 2024-11-15 at 12 11 51

Try setting:

environment:
  BOOT_MODE: "legacy"

That did the trick, thank you very much for the fast response! :)