Document:Windows Server 2016 build 10586.1000 QEMU installation guide

Prerequisites[edit | edit source]

The following requirements used in order to install this build onto a virtual machine are listed below:

Precautions[edit | edit source]

As a precaution, the second image index in this build's install.wim causes Windows Setup to fail due to it consisting of only the base Windows servicing components, as well as lacking any applicable Windows edition whatsoever:

The index must therefore be removed through DISM by invoking the below command, where X is the drive letter of the installation VHD.

DISM /Delete-Image /ImageFile:"X:\sources\install.wim" /Index:2

Instructions[edit | edit source]

Create the needed virtual disk images through the diskpart utility by running the below script; they will be created under a directory in the C: drive named 10586arm64. The images and the partitions they contain will be respectively mounted under drive letters M and P.

create vdisk file="C:\10586arm64\install.vhd" maximum=4096 type=expandable
select vdisk file="C:\10586arm64\install.vhd"
attach vdisk
convert gpt
create partition primary
format quick fs=fat32
assign letter=M
create vdisk file="C:\10586arm64\HDD.vhd" maximum=65536 type=expandable
select vdisk file="C:\10586arm64\HDD.vhd"
attach vdisk
convert gpt
create partition efi size=100
format quick fs=fat32
create partition primary
format quick fs=ntfs
assign letter=P
exit

Copy the contents of the installation media over to partition M, followed by the contents of the SCSI disk controller driver directory within the VirtIO driver package (located in viostor\w10\ARM64). Eject all currently attached virtual disks from the machine, and paste and run the contents of the below script onto a batch file within the QEMU installation directory:

qemu-system-aarch64 ^
    -M virt,highmem=false -cpu cortex-a72 -smp cores=4,threads=2 -m 2048 ^
    -device qemu-xhci -device usb-kbd -device usb-tablet ^
    -hda C:\10586arm64\HDD.vhd ^
    -hdb C:\10586arm64\install.vhd ^
    -bios fw\QEMU_EFI.fd -device ramfb ^
    -rtc base=2015-11-12,clock=vm ^
    --accel tcg,thread=multi

Load the VirtIO SCSI disk controller driver at the partition selection page and continue installation through normal means.