Installing Windows on Kali Linux

In our life, we have installed Linux over Windows virtually using VMWare or VirtualBox but in this tutorial we are gonna virtually install Windows over Linux.

To do this we are going to use KVM (Kernel-based Virtual Machine) on our Kali Linux system, or any other Debian based Linux distribution. Using KVM, we can run multiple virtual machines running unmodified Linux or Windows images. That means we can run not only Windows, we can also run Ubuntu, Mint or any other Operating System on our Kali Linux system.

Each virtual machine has private virtualized hardware: a network card, disk, graphics adapter, etc. It uses hypervisor technology.

KVM is open source software. The kernel component of KVM is included in mainline Linux, as of 2.6.20. The userspace component of KVM is included in mainline QEMU, as of 1.3.
installing Windows 10 on Kali Linux
One funny thing is that we even can use Windows and run Kali Linux on VMWare and in Kali we use KVM to run Windows under Kali Linux is our system resources is powerful enough to capable this. But here we are using Kali Linux primary installation and installing Windows 10 under it using Kernel Virtual Machine.

Let's start without wasting time.

First we need to update and upgrade our Kali Linux system by using following command:
sudo apt-get update && sudo apt-get updrade -y
After updating and upgrading our machine we need to install KVM in our Kali Linux machine.

To install KVM we need to apply following command:
sudo apt-get install qemu-kvm libvirt0 virt-manager libguestfs-tools
Now this will take some time we are going for a coffee 🍵.  Also this requires a reboot to finish the installation. If this installation process got any error for dependencies then we need to install dependencies manually or our comment box is opened for solutions.

Now we can run the KVM manager by using following command:
virt-manager
After running this command our virtual machine manager box will opened as the following screenshot:
KVM main menu
Then we need to click on the ➕ icon to create a new virtual machine.

After this we got another window as following screenshot.
creating virtual machine using KVM
We can use ISO images of OS or CDROM even we can network install also we can use use disk images.

Here we are using an ISO image of Windows 10 in our Desktop so we can go with the first option and forward it.
Windows 10 ISO image on our machine
After forwarding we got this box.
Selecting the OS image
Then we need to browse in our local directory to import our ISO image. We need to choose it and click on forward.

Now we allocate the RAM and CPU. We can increase these for a batter performance but default is also good. We are going with default, so without any changing we click on forward.
choosing the RAM and CPU
Here we need to give some disk space to our virtual machine. We give it as per our need.
allocating disk space for virtual machine
After this we are ready to install it. Here we can give a name to our virtual machine.
Finishing the precess
Now we click on "Finish".

Then it will start the installation process of the Operating System, as w can see i the following screenshot.
Installing Windows on Kali Linux using KVM
Now nothing to guide. We can install this easily by following instructions and choosing the right options.

After installing and configuring the host OS we can see this as the following screenshot:
Windows 10 is running under Kali Linux
Windows 10 is running under Kali Linux

Here we got Windows 10 here inside of Kali Linux. So in this tutorial we have learned how we can install other Operating Systems under our Linux machine using KVM Kernel Virtual Machine.

Got any trouble to do this? Have any question on mind ? The comment box is open for everyone. We always reply. To get updates about our tutorials follow our blog, one more thing we are also available in Twitter and Medium.

No comments:

Please do not spam here. It is comment box not a spambox. Promotional links are not allowed.

Powered by Blogger.