Difference between
modified post 868da01a by Anonymous on Mon 16th Sep 2024 11:44
original post 37722c1f87 by Anonymous on Thu 12th Sep 2024 12:34
Download diff
Show
old version |
new version |
both versions
| 1 | 1 | ||
| 2 | 2 | # | |
| 3 | 3 | # Run Windows 11/ARM64 in QEMU | |
| 4 | 4 | # | |
| 5 | + | # not working yet | |
| 6 | 6 | # | |
| 7 | + | ||
| 7 | 9 | # building qemu 9.1.0: | |
| 8 | 10 | # - required Debian packages: | |
| 9 | 11 | # ninja-build | |
| 10 | 12 | # python3-venv | |
| 11 | 13 | # python3-tomli | |
| 12 | 14 | # rpm2cpio | |
| 13 | 15 | # libslirp-dev | |
| 14 | 16 | # - build: | |
| 15 | 17 | # $ ./configure --target-list=aarch64-softmmu --enable-lto | |
| 16 | 18 | # $ make -j4 | |
| 17 | 19 | ||
| 18 | 20 | # | |
| 19 | - | # tests: | |
| 21 | + | # wget 'https://ftp.lysator.liu.se/pub/opensuse/ports/aarch64/tumbleweed/repo/oss/noarch/qemu-uefi-aarch64-202402-3.1.noarch.rpm' | |
| 20 | - | # D: | |
| 22 | + | # mkdir tmp | |
| 21 | - | # virtio-win-qt-x64.exe | |
| 23 | + | # cd tmp/ | |
| 22 | - | # virtio-win-guest-tools.exe | |
| 24 | + | # rpm2cpio ../qemu-uefi-aarch64-202402-3.1.noarch.rpm | pax -r | |
| 24 | 25 | ||
| 25 | - | /home/rmainz/work/qemu/tmp/../qemu-9.1.0/build/qemu-system-aarch64 \ | |
| 26 | + | # | |
| 26 | - | -M virt -cpu max,pauth=off \ | |
| 27 | + | # | |
| 27 | - | -m 2G -smp 8 \ | |
| 28 | + | # | |
| 28 | - | --accel tcg,thread=multi \ | |
| 29 | + | # download | |
| 29 | - | -device ramfb \ | |
| 30 | + | # # https://drive.massgrave.dev/SW_DVD9_Win_Pro_11_23H2.2_Arm64_German_Pro_Ent_EDU_N_MLF_X23-68028.ISO | |
| 30 | - | -bios /home/rmainz/work/qemu/tmp/usr/share/qemu/qemu-uefi-aarch64.bin \ | |
| 31 | + | # https://drive.massgrave.dev/SW_DVD9_Win_Pro_11_23H2.2_Arm64_English_Pro_Ent_EDU_N_MLF_X23-68023.ISO | |
| 31 | - | -device qemu-xhci -device usb-kbd \ | |
| 32 | + | # http://ftp.debian.org/debian/pool/main/e/edk2/qemu-efi-aarch64_2024.05-2_all.deb | |
| 32 | - | -device usb-tablet \ | |
| 33 | + | # https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.229-1/virtio-win.iso | |
| 33 | - | -drive file=/home/rmainz/work/qemu/tmp/Windows11_InsiderPreview_Client_ARM64_en-us_26080.VHDX,format=vhdx,if=none,id=boot \ | |
| 34 | + | # | |
| 34 | - | -device usb-storage,drive=boot,serial=boot \ | |
| 35 | + | # ar x qemu-efi-aarch64*.deb | |
| 35 | - | -drive file=virtio-win.iso,media=cdrom,if=none,id=iso \ | |
| 36 | + | # tar xvf data.tar.xz | |
| 36 | - | -device usb-storage,drive=iso \ | |
| 37 | + | # mv ./usr/share/qemu-efi-aarch64/QEMU_EFI.fd . | |
| 37 | - | -nic user,model=virtio-net-pci,mac=52:54:98:76:54:32 \ | |
| 38 | + | # qemu-img create win11-arm64.img 120G | |
| 38 | - | -vnc derfwpc5131_ipv4:2 | |
| 39 | + | # | |
| 39 | 40 | ||
| 40 | - | # EOF. | |
| 41 | + | /home/rmainz/work/qemu/qemu-9.1.0/build/qemu-system-aarch64 \ | |
| 41 | - | ||
| 42 | + | -M virt -m 4G -cpu max,pauth-impdef=on -smp 4 \ | |
| 42 | - | ||
| 43 | + | --accel tcg,thread=multi \ | |
| 43 | - | ||
| 44 | + | -bios /home/rmainz/work/qemu/tmp/tmp/usr/share/qemu/qemu-uefi-aarch64.bin \ | |
| 44 | - | ||
| 45 | + | -device ramfb \ | |
| 45 | - | ||
| 46 | + | -vnc derfwpc5131_ipv4:2 \ | |
| 46 | - | ||
| 47 | + | -device qemu-xhci -device usb-kbd -device usb-tablet \ | |
| 47 | - | ||
| 48 | + | -device usb-storage,drive=cdrom \ | |
| 48 | - | ||
| 49 | + | -drive if=none,id=cdrom,media=cdrom,file=$PWD/SW_DVD9_Win_Pro_10_22H2.15_Arm64_English_Pro_Ent_EDU_N_MLF_X23-67223.ISO \ | |
| 49 | - | ||
| 50 | + | -device usb-storage,drive=virtio-drivers \ | |
| 50 | - | ||
| 51 | + | -drive if=none,id=virtio-drivers,media=cdrom,file=$PWD/virtio-win.iso \ | |
| 51 | - | ||
| 52 | + | -drive if=virtio,id=system,format=raw,file=$PWD/win11-arm64.img \ | |
| 52 | - | ||
| 53 | + | -nic user,model=virtio-net-pci,mac=52:54:98:76:54:32 | |
| 53 | 54 | ||
| 54 | - | ||
| 55 | + | # EOF. | |
| 55 | 56 |
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.
nrubsig.kpaste.net RSS