Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
qemu-system-aarch64 \
  -M virt,virtualization=true -m 8G -cpu max -smp 8 \
  -bios ./QEMU_EFI.fd\
  --accel tcg,thread=multi\
  -device ramfb \
  -device qemu-xhci -device usb-kbd -device usb-tablet \
  -nic user,model=virtio-net-pci \
  -device usb-storage,drive=install \
  -drive if=none,id=install,format=raw,media=cdrom,file=./22621.1_PROFESSIONAL_ARM64_EN-US.ISO \
  -device usb-storage,drive=virtio-drivers \
  -drive if=none,id=virtio-drivers,format=raw,media=cdrom,file=./virtio-win-0.1.229.iso \
  -drive if=virtio,id=system,format=raw,file=./win11-arm64.img  

Notes:

  • virtualization=true is needed for -M virt, else windows installer won’t boot.

  • --accel tcg,thread=multi is to speed up emulation

  • devices are added for graphics output (ramfb), keyboard/mouse (usb*) and network (-nic)

Setup Windows

Setup will take between 1 and 2 hours on a high end x64 processor. It requires several manual steps.

...

Click on QEMU window and press enter when this appears

...

Installer is now loading…

...

Click on next and install now.

Bypass checks

Click next until you reach this screen, and Install now. Then select, “I don’t have a product key”.

...

The setup will now complain that your pc can’t run Windows 11.

...

Yes, this vm CAN run windows 11

It’s possible to force windows 11 installation by using those instructions (https://www.alitajran.com/this-pc-cant-run-windows-11/ ). We details them here:

  • Open a cmd prompt by using Shift + F10, and type regedit.

  • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\Setup.

  • Right click on “Setup” folder, and select New → Key, named LabConfig

  • Right click on LabConfig, and select New → Dword (32-bit) Value. Create those 5 new values:

    • BypassCPUCheck

    • BypassRAMCheck

    • BypassSecureBootCheck

    • BypassStorageCheck

    • BypassTPMCheck

  • Set all their values to 1.

You should have something like this:

...

Now, close regedit, command prompt, go back to previous page (using top left arrow), and click again on “i don’t have a product key”. Windows is now happy to install on your VM (smile)

Find your disk

Keep on advancing, select a “Custom install”, and you should now hit this screen:

...