Advertisement
metalx1000

Windows Images for VM

Mar 9th, 2024 (edited)
796
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.96 KB | None | 0 0
  1. sudo apt install qemu-system-gui
  2.  
  3. ### Quick Start
  4. wget -c "https://archive.org/download/winxp_202403/winxp.img"
  5. qemu-system-i386 -enable-kvm -m 2G -hda winxp.img -net nic,model=rtl8139 -net user -device AC97
  6.  
  7.  
  8. ### Install with WinXP ISO
  9. # Windows Images for VM
  10. https://bobpony.com/downloads/
  11. wget -c "https://dl.bobpony.com/windows/xp/professional/en_winxp_pro_x86_build2600_iso.img"
  12.  
  13. # Setup WinXP
  14. qemu-img create -f qcow2 winxp.img 5G
  15. qemu-system-i386 -enable-kvm -m 2G  -boot d -cdrom en_winxp_pro_x86_build2600_iso.img -hda winxp.img
  16. qemu-system-i386 -enable-kvm -m 2G  -boot c -cdrom en_winxp_pro_x86_build2600_iso.img -hda winxp.img
  17.  
  18. #  Get serial key
  19. #  TFGK8-RQT7R-F6KW8-Q2X4M-YF2CX
  20. wget -qO- "https://gist.github.com/denizssch/72ec2aa1c5d0a84ffb57076f7dbf30d6/raw/814ce30781915b45ffc35a212ee7612ef4c10167/XpSerials.txt"
  21.  
  22. # the AC97 is for audio device
  23. qemu-system-i386 -enable-kvm -m 2G -hda winxp.img -net nic,model=rtl8139 -net user -device AC97
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement