This blog is NOT OFFICIAL website of Kali Linux. We just share Tutorials to learn Cybersecurity.

Installing Windows on Kali Linux

Home
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.
author-img
Kali Linux

Comments

6 comments
Post a Comment
  • smiler kai photo
    smiler kaiOctober 26, 2020 at 7:46 AM

    Are you good at CTF? Please write about it

    Delete Comment
    • Kali Linux photo
      Kali LinuxOctober 26, 2020 at 5:10 PM

      Have a HTB account with Elite Ranking. But they banned it, because of shearing writeups. After then stopped CTF.

      Delete Comment
      • Kali Linux photo
        Kali LinuxOctober 26, 2020 at 5:12 PM

        You can check our profile at https://www.hackthebox.eu/home/users/profile/274787

        Delete Comment
        • smiler kai photo
          smiler kaiOctober 26, 2020 at 6:51 PM

          Bro, can you help me with this problem?
          link : https://minictf-web05.herokuapp.com/
          it is web CTF, I tried to translate hex code into asscii in source part is: 46 6c 61 67 3a 20 69 73 70 63 6c 75 62 7b 6a 34 76 34 61 73 63 72 69 70 74 5f 5f 78 5f 5f 50 48 50 5f 73 6f 5f 66 75 63 6b 31 6e 67 5f 64 31 72 74 59 7d.
          But it's not right, maybe I missed something ...

          Delete Comment
        • smiler kai photo
          smiler kaiOctober 26, 2020 at 6:53 PM

          flag it is not: ispclub {j4v4ascript__x__PHP_so_fuck1ng_d1rtY}
          I'm not very good at js, hope you can help me

          Delete Comment
          • Kali Linux photo
            Kali LinuxOctober 27, 2020 at 12:42 PM

            We are really sorry smiler, we don't get enough time for CTF's now. Budy on writing articles on this blog. Hope you will understand, because you are very old and valuable reader for us.

            Delete Comment
          google-playkhamsatmostaqltradent