I got windows 10 build 16296 for ARM64 to boot in QEMU!
it was a lot of hard work but I finally did it, I spent most of yesterday and all of today working on it but I finally did it!
the long and the short of it is.
the latest custom EFI linked in this thread is sadly a debug build and as such causes windows to BSOD
but I had come across an RELEASE EFI build that was a bit older, that DID boot windows 10, here in post 3: https://bugs.launchpad.net/qemu/+bug/1717708 unfortunately for me, from what I can tell it only worked with the bare minimum of devices, stuff like mass storage USB, NVMe or AHCI SATA none of that would show up as bootable in this EFI build but the last few posts gave me some ideas and hopes.
in that I made a VMDK file containing the USB mass storage EFI Driver linked in this thread, and loaded it. this got the EFI to see the USB CD ROM and i was able to boot from it, and the windows installer could now see "itself" but no matter what I did I could not get anything to show up for windows to install to! I tried NVMe AHCI nothing would show up, but inputting another USB Storage device would show up, but of course windows wont let you install to USB devices!
so what I did I used DISM ( https://docs.microsoft.com/en-us/window ... using-dism ) in a windows 10 x64 VM to deploy the ARM64 ISOs install.wim to a USB HDD formatted as NTFS (GUID with an EFI partition) luckily for me it did manage to deploy the .wim properly! now to make sure i had the right bootloader files, I booted into the windows ARM ISOs installer in QEMU and applied the BCD stuff from there. which also worked! (this part is basically exactly what Googulator did )
and I was finally able to boot windows to a desktop. it took FOREVER to do all the first time setup stuff but it did get there in the end!
this was my final cmd line in the end that I found ran the best for me (so far Cortex A53 runs a bit better then A57 for me on my System, a Mac Pro 5,1 10.13.2 Dual X5677s 32GB DDR3 ECC RDIMMs)
Code: Select all
$ sudo qemu-system-aarch64 -M virt -m 8192 -cpu cortex-a53 -smp 6 -device VGA -device nec-usb-xhci -device usb-kbd -device usb-mouse -drive file=/dev/rdisk5,id=system,if=none,format=raw -device usb-storage,drive=system -drive file=10.0.16296.0.rs3_release.170919-1503_arm64fre_client-professional_retail_en-us-J_CPRA_ARM64FRE_EN-US_DV5.iso,id=install,if=none,media=cdrom -device usb-storage,drive=install -bios /Volumes/Storage/Downloads/QEMU_EFI.fd -hda ~/Documents/windows-arm-test-2.vmdk
heres a screen shot for you to all enjoy