windows_vm_in_kvm_on_headless_ubuntu_server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
windows_vm_in_kvm_on_headless_ubuntu_server [24.01.2016 10:59] Pascal Suterwindows_vm_in_kvm_on_headless_ubuntu_server [07.06.2021 11:50] – [Windows VM in KVM/QEMU on headless Ubuntu server] Pascal Suter
Line 15: Line 15:
  
 run qemu and install windows. access the display via VNC  run qemu and install windows. access the display via VNC 
-  qemu-system-x86_64 -enable-kvm -k de-ch -name windows -vnc :1 -cdrom /dev/cdrom -boot d -drive file=/vm/windows.img,if=virtio,format=raw,index=0 -m 4096+  qemu-system-x86_64 -enable-kvm -k de-ch -name windows -vnc :1 -cdrom /dev/cdrom -drive file=/vm/virtio-win.iso,media=cdrom -boot d -drive file=/vm/windows.img,if=virtio,format=raw,index=0 -m 4096
  
 now connect with your favourite vnc client to the ip of your server and install windows. you need to load the derivers from the second cdrom that is emulated. make sure you choose the correct virtio storage driver for your windows version. it may load the wrong one if you just select the root directory and let the installer search for it, resulting in an unstable windows vm now connect with your favourite vnc client to the ip of your server and install windows. you need to load the derivers from the second cdrom that is emulated. make sure you choose the correct virtio storage driver for your windows version. it may load the wrong one if you just select the root directory and let the installer search for it, resulting in an unstable windows vm
  • windows_vm_in_kvm_on_headless_ubuntu_server.txt
  • Last modified: 09.04.2022 01:22
  • by Pascal Suter