Tuesday, October 12

Install Kali Linux on Windows 10 using Hyper-V

Step 1: Download Kali Linux 64-bit ISO

Step 2: Install Hyper-V feature on Windows 10

  • Type Turn Windows features on or off in search.
  • Expand Hyper-V and select everything. Click on OK.
  • Reboot the Windows 10 machine.

Step 3: Configure Hyper-V for Kali Linux

  • Type Hyper-V Manager in the search and select it.
  • In the left pane, you will be seeing your machine name. Right-click on it and New -> Virtual Machine.
  • Specify the name of your virtual machine. If you want to save the virtual machine at a different location, select the check box and browse to the location. Click on Next.
  • Leave the generation to Generation 1. Click on Next.
  • Assign memory to the virtual machine. To use the dynamic memory for the virtual machine, select the option Use Dynamic Memory for this virtual machine.
  • Here, I am assigning 2GB of RAM to the virtual machine. You can increase it anytime from the virtual machine setting. The virtual machine needs to be in the power-off state to do that.
  • Select Default Switch from the drop-down list for Connection in Configure Networking. Click on Next.
  • On the Connect Virtual Hard Disk page, you can give the name to the hard disk, specify the size of the disk. Do not change the extension (.vhdx).
  • It depends on your requirement, how much disk size you want to assign. I am keeping it to 60GB.
  • On the Installation Options page, browse to the location where you have kept your Kali Linux ISO.
  • Select the Install an operating system from a bootable CD/DVD-ROM option and then select the Image File(.iso) option. Click on Next.
  • Summary page will appear on the screen with all the information. Click on Finish.
  • It will create a new virtual machine entry in the Hyper-V Manager.

Step 4: Begin with the installation of Kali Linux

  • Right Click on virtual machine name and select Connect.
  • Click on Start.
  • Select Graphical install and hit Enter.
  • On the Select Language page, select English and click on Continue.
  • Select your location as per your geo location. Click on Continue.
  • Configure the keyboard. By default, American English will be selected. Click on Continue.
  • It will start loading the additional components.
  • Enter the hostname as per your requirement. Click on Continue.
  • If you are setting up a home network, you can add a domain name. For now, I am leaving it blank.
  • Set up user and password. You need to provide a new user’s full name and then click on Continue.
  • On the next page, you need to select a username or login name for the user which you have just created. Click on Continue.
  • Set up password for the created user. Once the password is set, click on Continue.
  • You need to select, how you want to partition the disk to install the system. We will be using Guided-use entire disk and set up LVM option.
  • You can also do a manual partition. But, I would recommend you to go with auto partition.
  • On the Partitions Disks page, it will show you the available disks with a warning message.
  • You will get several different schemes for disk partition. Its recommended for new users to go with All files in one partition. If you are good with Linux file systems, you can go for manual partitions. Click on Continue.
  • Before making the changes to the disk, it will again ask you for confirmation. Select Yes and click on Continue.
  • You need to provide the amount of volume group to use for guided partitioning. We will work with the default entry.
  • Here is your summary page for disk partition. Select Finished partitioning and write changes to disk option and click on Continue.
  • Again a confirmation page will appear on the screen. Select Yes and click on Continue.
  • It will trigger the installation of the base system. Just sit and have something to eat and drink, meanwhile your Kali Linux system is getting installed.
  • On the Software selection page, you can customize your Kali Linux system. It will give you the option to install features in the system during the installation. I am going with everything.
  • As per your selection, it will install the packages into the system. For me, it is installing 3064.
  • We will be using the gdm3 display manager which will provide us graphical login capabilities for the X Window System. Select gdm3 and click on Continue.
  • On the Install Grub boot loader page, select Yes and click on Continue.
  • On the next page, select the only device you have listed and click on Continue.
  • You will get a page for Installation complete. Once you click on Continue, it will reboot your system.

Step 5: Log in to the Kali Linux system

  • After the system reboot, you will get the login UI with the user’s full name you have created during the installation.
  • Click on the user and enter the password. Hit enter.
  • Here is the first look of your Kali Linux desktop.
  • Let’s check the installed version of the Kali from the terminal. You need to issue command lsb_release -a to get the release of Kali Linux.

We have successfully installed Kali Linux 2020.4 on Windows 10 using Hyper-V.

Leave a Reply

Your email address will not be published. Required fields are marked *


Enjoy this blog? Please spread the word :)