Technology Microsoft Software & solutions

How to Run Windows in KVM

    • 1). Open a terminal by clicking "Applications," "Accessories" and "Terminal."

    • 2). Test whether your CPU supports KVM by typing ". egrep '^flags.*(vmx|svm)' /proc/cpuinfo" and pressing "Enter." If any output appears, your CPU supports KVM. If it doesn't appear to support KVM, you may be able to enable the Intel VT or AMD-V feature in the computer's BIOS if your CPU is new enough.

    • 3). Install the KVM package for the Linux distribution if it isn't already installed. Type "sudo apt-get install kvm" into the terminal and press "Enter" to install KVM on Ubuntu or see the Linux distribution's documentation for more information on installing software.

    • 4). Insert the Windows installer disc in the computer's disc drive.

    • 5). Start the Windows installer by typing "kvm -m 512 -hda disk.img -cdrom /dev/cdrom -boot d -smp 2" into the terminal and pressing "Enter."

    • 6). Install Windows normally as if you were installing Windows on a physical computer.

    • 7). Start the installed Windows system by typing "kvm -m 512 -hda disk.img -boot c -smp 2" and pressing "Enter."



Leave a reply