pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS

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

    
11
22
#
33
# Run Windows 11/ARM64 in QEMU
44
#
5+
# not working yet
66
#
7+
79
# building qemu 9.1.0:
810
# - required Debian packages:
911
#     ninja-build
1012
#     python3-venv
1113
#     python3-tomli
1214
#     rpm2cpio
1315
#     libslirp-dev
1416
# - build:
1517
#     $ ./configure --target-list=aarch64-softmmu --enable-lto
1618
#     $ make -j4
1719
1820
#
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
2425
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+
#
3940
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
5354
54-
55+
# EOF.
5556

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