Notice: Undefined index: s in /srv/www/wp-content/themes/hostsailor-child/header.php on line 122
How To Install Windows KVM On Linux? - VPS Hosting | Domain Names | SSL Certificates | HostSailor
Notice: Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /srv/www/wp-includes/functions.php on line 5831

Notice: Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /srv/www/wp-includes/functions.php on line 5831

Deprecated: File class-oembed.php is deprecated since version 5.3.0! Use wp-includes/class-wp-oembed.php instead. in /srv/www/wp-includes/functions.php on line 5569

How To Install Windows KVM On Linux?

^^

 

Why?

Some users want to work on an Open Systems platform but need applications that are not available under Linux.

The solution is to use a virtual machine on the Linux platform, perhaps as a virtual server in a VPS environment, hosting the Windows server and desktop operating system needed for the applications.

 

Install Windows KVM On Linux
Windows KVM On Linux

 

Can KVM run Windows?

Yes.  KVM can run Windows in a KVM managed virtual server on the Linux platform.

Some points of clarification:

  • KVM is an integral part of the Linux operating system. As such, it runs on a Linux server, although it supports different operating systems, including Windows in each virtual server it manages.
  • KVM does not run under Windows in native mode. It can be implemented under Windows using an Open Systems emulator such as Qemu, but performance is very poor.

Further information can be found here.

 

What is Windows KVM?

2 persons in front of server room

Simply put, Windows KVM is a virtual server instance running a Windows server as its operating system. This gives great advantages to an organization running multiple operating systems and wanting to consolidate all its servers on a single server.

It also meets the need of Linux users who want to use Windows-based applications.

 

 

How to install Windows 10?

This section assumes that you already have a VPS environment running KVM.

The various steps, taken from GitHub are:

  • Download virtio-win.iso to obtain KVM drivers
  • Run qemu manually to install KVM, don’t relay on libvirt

 

qemu-system-x86_64 –enable-KVM \

  -smp 4 -m 4096 -cpu host -vgaqxl \

  -drive file=/path/to/win10_64.iso,index=1,media=cdrom \

  -drive file=/path/to/virtio-win.iso,index=2,media=cdrom \

  -drive file=/path/to/win10.img,if=virtio \

  -net nic,model=virtio,vlan=0 -net user \

  –graphics vnc,listen=127.0.0.1

  • Install driver from /viostor/w10/amd64 before installation. (You won’t see harddrive before this step due to lack of driver)
  • Finish your Windows installation process on the virtual drive
  • Let the device manager install the drivers for the virtual network interface from the virtio drivers automatically.
  • (Optional) Install /Balloon/w10/amd64/balloon.inf, graphics driver from /qxldod/w10/amd64/qxldod.inf and guest agent from /guest-agent/qemu-ga-x64.msi
  • Now you can boot this image with the KVM front-end, just remember to set disk type as virtio.
  • (Optional) Set graphics type to qxl and give it at least 64MB of graphics memory
  • Change KVM clock setting to localtime. ex: <clock offset=’localtime’> for libvirt

 

Do those steps to install Windows on your Virtual Server using KVM. This is a complicated technical process, not for the novice. Full instructions can be found here.  If you need assistance, please contact HostSailor to reach our technical support team.

 

  • Share:
Send a Message