Last active
June 26, 2024 02:09
-
-
Save brunocastello/a38ca6ef0e8b6a8bb9ee881b0afd089c to your computer and use it in GitHub Desktop.
Run Windows XP SP3 with QEMU
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
qemu-3dfx/bin/qemu-system-i386 \ | |
-name "Windows 2002 Professional" \ | |
-L pc-bios -nodefaults -no-hpet -no-reboot -display sdl \ | |
-M pc,accel=tcg -cpu qemu32 -m 1024 \ | |
-drive id=root,format=raw,file=Disks/WinXP.img \ | |
-drive id=drive1,media=cdrom \ | |
-device VGA -device sb16 -device rtl8139,netdev=net0 \ | |
-netdev user,id=net0,hostfwd=tcp::8080-:80,hostfwd=tcp::2222-:22 \ | |
-rtc base=localtime,clock=host -boot c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment