-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
When filing a bug, please include the following headings if possible. Any
example text in this template can be deleted.
Overview of the Issue
When loading the Windows 2025 Server eval ISO packer/qemu will do a boot loop after the windows logo, packer will show 'Loading Files', then briefly show the windows logo, then restart back to loading files.
Reproduction Steps
Build template
Packer version
From packer version
Packer v1.12.0
Simplified Packer Template
source "qemu" "windows2k25" {
format = "qcow2"
output_directory = "build"
machine_type = "q35"
accelerator = "kvm"
cpus = "2"
memory = "4096"
disk_size = "102G"
headless = "true"
disk_compression = "true"
firmware = "/usr/share/edk2/ovmf/OVMF_CODE.fd"
efi_boot = true
efi_firmware_code = "/usr/share/edk2/ovmf/OVMF_CODE.fd"
efi_firmware_vars = "./OVMF_VARS.fd"Operating system and Environment details
Windows 2025 Server Eval ISO
Qemu plugin version 1.1.1
Log Fragments and crash.log files
`==> qemu.template: Starting VM, booting from CD-ROM
qemu.template: The installation may take considerably longer to finish.
qemu.template:
qemu.template: WARNING: The VM will be started with no hardware acceleration.
qemu.template: The installation may take considerably longer to finish.
qemu.template:
qemu.template: view the screen of the VM, connect via VNC without a password to
qemu.template: vnc://0.0.0.0:5900
qemu.template: The VM will be run headless, without a GUI. If you want to
2025/03/26 21:59:02 packer-plugin-qemu_v1.1.1_x5.0_darwin_arm64 plugin: 2025/03/26 21:59:02 Qemu Builder has no floppy files, not attaching a floppy.
2025/03/26 21:59:02 packer-plugin-qemu_v1.1.1_x5.0_darwin_arm64 plugin: 2025/03/26 21:59:02 Executing /usr/local/bin/qemu-system-x86_64: []string{"-m", "2048M", "-drive", "if=none,file=output/packer-template,id=drive0,cache=unsafe,discard=unmap,format=qcow2", "-drive", "file=/Users/username/.cache/packer/45173890bb9e0fc063f71cfb6d5ec40a0210e2d9.iso,media=cdrom", "-device", "virtio-scsi-pci,id=scsi0", "-device", "scsi-hd,bus=scsi0.0,drive=drive0", "-device", "virtio-net,netdev=user.0", "-vnc", "0.0.0.0:0", "-smp", "4", "-boot", "once=d", "-name", "packer-template", "-machine", "type=pc", "-netdev", "user,id=user.0,hostfwd=tcp::10083-:5985"}
qemu.template: view the screen of the VM, connect via VNC without a password to
qemu.template: vnc://0.0.0.0:5900
2025/03/26 21:59:02 packer-plugin-qemu_v1.1.1_x5.0_darwin_arm64 plugin: 2025/03/26 21:59:02 Started Qemu. Pid: 7645
==> qemu.template: Waiting 2m0s for boot...`