THE WRITER MUST EAT -> patreon.com/trn1ty <-

| \    |   | blah!
|\ | `\|\  | the rantings and ravings
|/ |(_|| | * of a depraved lunatic

<^>

2024-05-15

: emulating windows xp on a raspberry pi

https://computernewb.com/wiki/QEMU/Guests/Windows_XP

I'm going to assume you have qemu installed, and the binaries
qemu-system-x86_64 and qemu-img in your PATH, and a Windows XP x64 installation
disc image as winxp.iso.

$ qemu-img create -f qcow2 winxp.img 20G

This will make a qcow2 disk image for qemu. It grows as Windows writes to it so
you don't have to be miserly with your bytes. I will not come close to filling
20GB. On my machine the created file is 196K.

$ qemu-system-x86_64 \
	-m 1G \
	-device VGA,vgamem_mb=64 \
	-cpu qemu64 \
	-M pc \
	-netdev user,id=lan \
	-device rtl8139,netdev=lan \
	-usb \
	-device usb-tablet \
	-rtc base=localtime \
	-monitor stdio \
	-cdrom winxp.iso \
	-hda winxp.img

Have fun.

<^>

No rights reserved, all rights exercised, rights turned to lefts, left in this
corner of the web.