pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS


run_win11arm64qemu.ksh93
Posted by Anonymous on Tue 17th Jun 2025 13:22
raw | new post

  1.  
  2. #
  3. # run_win11arm64qemu.ksh93 - Run Windows 11/ARM64 in QEMU
  4. #
  5.  
  6. #
  7. # building qemu 9.1.0:
  8. # - required Debian packages:
  9. #     ninja-build
  10. #     python3-venv
  11. #     python3-tomli
  12. #     rpm2cpio
  13. #     libslirp-dev
  14. # - build:
  15. #     $ wget 'https://download.qemu.org/qemu-10.0.2.tar.xz'
  16. #     $ tar -xf qemu-10.0.2.tar.xz
  17. #     $ cd qemu-10.0.2
  18. #     $ ./configure --target-list=aarch64-softmmu --enable-lto
  19. #     $ time nice make -j4
  20. #
  21. # download
  22. # # wget 'https://drive.massgrave.dev/SW_DVD9_Win_Pro_11_23H2.2_Arm64_German_Pro_Ent_EDU_N_MLF_X23-68028.ISO'
  23. # # wget 'https://drive.massgrave.dev/SW_DVD9_Win_Pro_11_23H2.2_Arm64_English_Pro_Ent_EDU_N_MLF_X23-68023.ISO'
  24. # wget 'https://drive.massgrave.dev/SW_DVD9_Win_Pro_10_22H2.15_Arm64_English_Pro_Ent_EDU_N_MLF_X23-67223.ISO'
  25. # wget 'http://ftp.debian.org/debian/pool/main/e/edk2/qemu-efi-aarch64_2024.05-2_all.deb'
  26. # wget 'https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.262-2/virtio-win.iso'
  27. #
  28. # ar p qemu-efi-aarch64_2024.05-2_all.deb data.tar.xz | tar xvJf - ./usr/share/qemu-efi-aarch64/QEMU_EFI.fd
  29. # mv ./usr/share/qemu-efi-aarch64/QEMU_EFI.fd .
  30. # rm -Rf usr
  31. #
  32. # qemu-img create win11-arm64.img 120G
  33. #
  34.  
  35. /home/rmainz/work/qemu/qemu-10.0.2/build/qemu-system-aarch64 \
  36.         -M virt,virtualization=true -cpu cortex-a72 -smp 4,cores=4,threads=1,sockets=1 \
  37.         -m 4G \
  38.         --accel tcg,thread=multi \
  39.         -bios $PWD/QEMU_EFI.fd \
  40.         -device ramfb \
  41.         -vnc derfwpc5131_ipv4:2 \
  42.         -device nec-usb-xhci -device usb-kbd -device usb-tablet \
  43.         -device usb-storage,drive=install \
  44.         -drive if=none,id=install,format=raw,media=cdrom,file=$PWD/SW_DVD9_Win_Pro_10_22H2.15_Arm64_English_Pro_Ent_EDU_N_MLF_X23-67223.ISO \
  45.         -device usb-storage,drive=virtio-drivers \
  46.         -drive if=none,id=virtio-drivers,format=raw,media=cdrom,file=$PWD/virtio-win.iso \
  47.         -drive if=virtio,id=system,format=raw,file=$PWD/win11-arm64.img \
  48.         -nic user,model=virtio-net-pci,mac=52:54:98:76:54:32
  49.  
  50. # EOF.

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at