pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS

Difference between
modified post b28befb by Anonymous on Tue 17th Sep 2024 16:35
original post 97416c4c by Anonymous on Mon 16th Sep 2024 17:27
Download diff
Show old version | new version | both versions

    
11
22
#
3-
# Run Windows 10/ARM64 in QEMU
3+
# Run Windows 11/ARM64 in QEMU
44
#
55
66
#
77
# building qemu 9.1.0:
88
# - required Debian packages:
99
#     ninja-build
1010
#     python3-venv
1111
#     python3-tomli
1212
#     rpm2cpio
1313
#     libslirp-dev
1414
# - build:
1515
#     $ ./configure --target-list=aarch64-softmmu --enable-lto
1616
#     $ make -j4
1717
1818
#
1919
# download
2020
# # wget 'https://drive.massgrave.dev/SW_DVD9_Win_Pro_11_23H2.2_Arm64_German_Pro_Ent_EDU_N_MLF_X23-68028.ISO'
2121
# # wget 'https://drive.massgrave.dev/SW_DVD9_Win_Pro_11_23H2.2_Arm64_English_Pro_Ent_EDU_N_MLF_X23-68023.ISO'
2222
# wget 'https://drive.massgrave.dev/SW_DVD9_Win_Pro_10_22H2.15_Arm64_English_Pro_Ent_EDU_N_MLF_X23-67223.ISO'
2323
# wget 'http://ftp.debian.org/debian/pool/main/e/edk2/qemu-efi-aarch64_2024.05-2_all.deb'
24-
# wget 'https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.229-1/virtio-win.iso'
24+
# wget 'https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.262-2/virtio-win.iso'
2525
#
2626
# ar p qemu-efi-aarch64_2024.05-2_all.deb data.tar.xz | tar xvJf - ./usr/share/qemu-efi-aarch64/QEMU_EFI.fd
2727
# mv ./usr/share/qemu-efi-aarch64/QEMU_EFI.fd .
2828
# rm -Rf usr
2929
#
3030
# qemu-img create win11-arm64.img 120G
3131
#
3232
3333
/home/rmainz/work/qemu/qemu-9.1.0/build/qemu-system-aarch64 \
34-
	-M virt,virtualization=true -m 4G -cpu max,pauth=off -smp 4 \
34+
	-M virt,virtualization=true -cpu cortex-a72 -smp 4,cores=4,threads=1,sockets=1 \
35+
	-m 4G \
3536
	--accel tcg,thread=multi \
3637
	-bios $PWD/QEMU_EFI.fd \
3738
	-device ramfb \
3839
	-vnc derfwpc5131_ipv4:2 \
39-
	-device qemu-xhci -device usb-kbd -device usb-tablet \
40+
	-device nec-usb-xhci -device usb-kbd -device usb-tablet \
4041
	-device usb-storage,drive=install \
4142
	-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 \
4243
	-device usb-storage,drive=virtio-drivers \
4344
	-drive if=none,id=virtio-drivers,format=raw,media=cdrom,file=$PWD/virtio-win.iso \
4445
	-drive if=virtio,id=system,format=raw,file=$PWD/win11-arm64.img \
4546
	-nic user,model=virtio-net-pci,mac=52:54:98:76:54:32
4647
4748
# EOF.
4849

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