1.6 KiB
1.6 KiB
Windows 10 VM with Qemu
Not booting from ISO
Switch from UEFI to BIOS
Valid Key
4X7WM-GTH3D-DWVCV-H382J-HPMRD
Bypass Microsoft Account Requirement
- shift + f10 to open command prompt during setup
oobe\bypassnro- shift + f10 again to open command prompt
ipconfig /releaseto disconnect the internet- Continue with limited setup
Create installer iso
mkisofs -o ~/Downloads/win-install.iso /tmp/windows-installers/
Snapshot qcow2 storage
# list
qemu-img snapshot -l win10.qcow2
# create
qemu-img snapshot -c $SNAPSHOT_NAME $DISK_IMAGE
# apply
qemu-img snapshot -a $SNAPSHOT_NAME $DISK_IMAGE
# delete
qemu-img snapshot -d \
$SNAPSHOT_NAME \
$DISK_IMAGE
Setup
Install and configure windows as normal to start. Boot into the installation and finish the setup.
Auto resize display
- Ensure the video device is set to "QXL" on the host
- Download virt-win-guest-tools and install on guest
- Download spice-guest-tools and install on guest
- Shutdown the guest machine
- view -> Scale Display -> Auto resize VM with window
- Start the guest machine, it should now auto resize
virtio network driver
- Download virt-win-guest-tools and install on guest
- Shutdown the guest machine
- Change the network device model to virtio
- Start the guest machine
virtio boot disk
- Attempted virt-win-guest-tools install but boots with boot_device_not_found error