1
0

2024-05-15

This commit is contained in:
dtb 2024-05-16 00:24:11 -06:00
parent 01fcf0ad07
commit ca27fcc030

View File

@ -525,6 +525,39 @@ pre { /* DRY who? */
} }
/blah/2024-05-15.html
: 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.
/blah/2024-05-09.html /blah/2024-05-09.html
: poetry i wrote while high at work : poetry i wrote while high at work