Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@carnal0wnage
Forked from Manouchehri/windows10qemu.sh
Created April 3, 2017 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carnal0wnage/253ad271119e6e4d726f82acd6cb5f98 to your computer and use it in GitHub Desktop.
Save carnal0wnage/253ad271119e6e4d726f82acd6cb5f98 to your computer and use it in GitHub Desktop.
Running Windows 10 in a UEFI enabled QEMU environment with KVM.
# Installing
qemu-system-x86_64 -bios /usr/share/ovmf/ovmf_x64.bin -enable-kvm -cpu host -smp 4 -m 2048 -cdrom ~/Downloads/Win10_English_x64.iso -net nic,model=virtio -net user -drive file=~/vm/win10.hd.img.raw,format=raw,if=virtio -vga qxl -drive file=~/Downloads/virtio-win-0.1.105.iso,index=1,media=cdrom
# Running
qemu-system-x86_64 -bios /usr/share/ovmf/ovmf_x64.bin -enable-kvm -cpu host -smp 4 -m 4096 -net nic,model=virtio -net user -drive file=~/vm/win10.hd.img.raw,format=raw,if=virtio -vga qxl -usbdevice tablet -rtc base=utc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment