Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot boot a Windows ISO image from cdrom using HAXM accelerator in QEMU #20

testworksau opened this Issue Dec 28, 2017 · 6 comments


None yet
7 participants
Copy link

testworksau commented Dec 28, 2017

Running the following command:

qemu-system-x86_64 -accel hax -cdrom Windows2016.iso -m 4095M

Yields the following error message in the virtual machine:

CDBOOT: Couldn't find BOOTMGR

QEMU reports:

HAX is working and emulator runs in fast virt mode.

Running the same command with -accel tcg works as expected.

Qemu version:
QEMU emulator version 2.11.0

Intel HAXM version:

Intel Core i7-7820HQ
Virtualization in BIOS enabled
Windows 10 64-bit
Hyper-V disabled



This comment has been minimized.

Copy link

shaiku commented Dec 31, 2017

I have the same issue and also am not able to boot an XP guest with haxm acceleration.


This comment has been minimized.

Copy link

raphaelning commented Jan 2, 2018

This is an interesting use case. Enabling Windows to run on HAXM is not trivial, and this ISO boot failure is probably only the first of many obstacles in the way. The focus of our small team is on Linux guests, so #15 takes priority over this issue. But we welcome community contribution toward Windows guest support.


This comment has been minimized.

Copy link

delfer commented Jan 9, 2018

I think it can have the same root cause with #15 because nothing can boot from cdrom neither syslinux, nor grub, nor ntldr.


This comment has been minimized.

Copy link

HaHoYou commented Apr 4, 2018

ISO loading from cdrom has been fixed by latest HAXM, newer than 7.1.0. You can try to build if you are in a hurry. With this version, Booting from DVD/CD is good, but there is another error for your case, just FYI: launchiso


This comment has been minimized.

Copy link

nevilad commented Feb 5, 2019

Is the guest 32 or 64-bit windows 10?
I'm unable to run win10 x86 version with Qemu 2.12.50 with -accel tcg, I see the loading image (blue window), seems like windows hangs.


This comment has been minimized.

Copy link

AlexAltea commented Feb 5, 2019

@nevilad Have you tried passing a sufficiently large guest memory size? E.g. try passing -m 1G.
This should make Windows 10 work with TCG, i.e. -accel tcg. Unfortunately, HAXM still doesn't support Windows 10 images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.