diff --git a/homepage b/homepage index c7835f7..69947e9 100755 --- a/homepage +++ b/homepage @@ -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 : poetry i wrote while high at work