Install Windows on Linux

Install Windows on your Linux system with our step-by-step guide. Learn how to use virtualization software and run Windows applications seamlessly on Linux.

Brief

Some things just are better on windows than linux thus having a windows virtual machine(VM) is a great idea specially when daily driving linux.

We will be using Vert Manager to use windows 7 on vanilla Debian linux however, this will work on any Debian based system i.e Ubuntu.

Machine I am using: Machine ScreenShot

Step 1: Confirm virtualization

Open terminal and type

1
grep -o "vm\|sum" /proc/cpuinfo

Output ScreenShot

here the command outputs ‘vmx’ but if u are not using intel processor it will show ‘SVM’ instead. If it doesn’t show anything that means virtualization is not enabled. (search for your make and model and how to enable virtualization in this case since the BIOS menu looks different for every system).

Step 2: Downloading

Start downloading Windows 7 Next, install qemu-kvm and its dependencies

1
sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils libguestfs-tools genisoimage virtinst libosinfo-bin virt-manager -y

then run

1
sudo adduser $USER libvirt && sudo adduser $USER libvirt-qemu

This command adds user to KVM group

ScreenShot of command output

Step 3: Installation

  1. Open Virt Manager

    screenshot of the step

  2. Go to file -> New Virtual Machine

    screenshot of the step

  3. Choose “Local install media (ISO image or CDROM)”

    screenshot of the step

  4. Browse to your iso file

    screenshot of the step

    screenshot of the step

    screenshot of the step

  5. In memory give at least half of the host system resources

    screenshot of the step

  6. Here go with the default options

    screenshot of the step

  7. Here u can change the name of your VM, i am going with win7 screenshot of the step

  8. Run the Virtual Machine & go with OS install process.

that’s it ✌🏽