Skip to content

Instantly share code, notes, and snippets.

@fiddyschmitt
Last active November 17, 2025 06:14
Show Gist options
  • Select an option

  • Save fiddyschmitt/4bbab37c34c82054c414001bc174d410 to your computer and use it in GitHub Desktop.

Select an option

Save fiddyschmitt/4bbab37c34c82054c414001bc174d410 to your computer and use it in GitHub Desktop.
User mode VM
Linux
./qemu-system-x86_64.exe -cdrom "C:\iso\clonezilla-live-3.3.0-33-amd64.iso" -boot d -m 8192 -netdev user,id=net0,hostfwd=tcp:127.0.0.1:5555-:22 -device e1000,netdev=net0
Windows 10
.\qemu-img.exe create -f qcow2 "C:\VMs\win10\disk1.qcow2" 2T
.\qemu-system-x86_64.exe -smp 4 -cdrom "C:\iso\en-us_windows_10_enterprise_ltsc_2021_x64_dvd_d289cf96.iso" -hda "C:\VMs\win10\disk1.qcow2" -boot d -m 8192 -netdev user,id=net0,hostfwd=tcp::5555-:22 -device e1000,netdev=net0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment