Share this blog

How To Set Up Kali Linux On VirtualBox | Complete Guide

How To Set Up Kali Linux On VirtualBox? If you’re starting in cybersecurity, one of the tools you’ll hear about is Kali Linux. It’s a special operating system used for security testing and hacking. This guide will show you how to install Kali Linux on a virtual machine (VM) using VirtualBox. A virtual machine lets you run Kali Linux on your computer without changing your main operating system.

Let’s get started!

What is a Virtual Machine?

A virtual machine is like a computer inside your computer. It runs separately from your main system and doesn’t affect anything outside. We can install Kali Linux in this virtual space using VirtualBox, keeping your main system safe.

What You’ll Need

  1. A computer with at least 4 GB of RAM (8 GB is better).
  2. VirtualBox installed (download it here).

Download Link: https://www.virtualbox.org/wiki/Downloads

How To Set Up Kali Linux On VirtualBox

3. Kali Linux ISO file (download it here).

https://www.kali.org/get-kali/#kali-installer-images

How To Set Up Kali Linux On VirtualBox

Step 1: Install VirtualBox

  1. Download VirtualBox from here and install it. Just follow the on-screen instructions.

How To Set Up Kali Linux On VirtualBox

 

2. Once installed, open VirtualBox.

How To Set Up Kali Linux On VirtualBox

Step 2: Download Kali Linux ISO

  1. Go to the Kali Linux installer images page under downloads.
  2. Download the 64-bit ISO file from here.

 

How To Set Up Kali Linux On VirtualBox

Step 3: Create a Virtual Machine for Kali Linux

  1. Open VirtualBox and click the New button.

How To Set Up Kali Linux On VirtualBox

  2.  Name it Kali Linux.

    • Type: Linux
    • Version: Debian (64-bit)

3. Set the Memory Size to at least 2048 MB (2 GB) and select allocate 1 CPU. Click Next.

How to Set Up Kali Linux in a Virtual Machine Using VirtualBox

4. Select Create a virtual hard disk now and click Create.

How to Set Up Kali Linux in a Virtual Machine Using VirtualBox

5. Choose VDI (VirtualBox Disk Image) and click Next.

6. Choose Dynamically Allocated and click Next.

7. Set the disk size to 20 GB or more and click Create.

How to Set Up Kali Linux in a Virtual Machine Using VirtualBox

Step 4: Attach Kali Linux ISO to the Virtual Machine

  1. In VirtualBox, click on the Kali Linux virtual machine you just created and go to Settings.
  2. Click Storage and then click on Empty under Controller: IDE.

How to Set Up Kali Linux in a Virtual Machine Using VirtualBox

3. Click the disk icon on the right and select Choose a disk file.

4. Find and select the Kali Linux ISO file you downloaded earlier.

5.  Click OK.

Step 5: Install Kali Linux

  1. Now, click Start to boot up the Kali Linux virtual machine.

How to Set Up Kali Linux in a Virtual Machine Using VirtualBox

2. When the Kali Linux boot menu appears, select Graphical Install and press Enter.

How to Set Up Kali Linux in a Virtual Machine Using VirtualBox

3. Choose your language, location, and keyboard layout.

4. Set up your network, hostname, and user account as prompted.

How to Set Up Kali Linux in a Virtual Machine Using VirtualBox

How to Set Up Kali Linux in a Virtual Machine Using VirtualBox

5. When asked about disk partitioning, select Guided – use the entire disk.

How to Set Up Kali Linux in a Virtual Machine Using VirtualBox

6. Continue following the on-screen instructions to complete the installation.

How to Set Up Kali Linux in a Virtual Machine Using VirtualBox

How to Set Up Kali Linux in a Virtual Machine Using VirtualBox

Step 6: Finish Installation and Remove the ISO

  1. After the installation is complete, the system will ask you to reboot.
  2. Before restarting, return to Settings > Storage in VirtualBox and remove the Kali Linux ISO file by clicking Remove Disk from Virtual Drive.

How to Set Up Kali Linux in a Virtual Machine Using VirtualBox

3. Now restart your virtual machine. Kali Linux will boot up!

How to Set Up Kali Linux in a Virtual Machine Using VirtualBox

You’re Done!

Congratulations! You’ve successfully installed Kali Linux on a virtual machine. Now you can explore its powerful cybersecurity and ethical hacking tools in a safe environment.

Quick Summary of How To Set Up Kali Linux On VirtualBox, Steps:

  1. Download and install VirtualBox.
  2. Download the Kali Linux ISO file.
  3. Create a virtual machine in VirtualBox.
  4. Attach the Kali Linux ISO to the virtual machine.
  5. Install Kali Linux.
  6. Remove the ISO and reboot the virtual machine. 

That’s it! Enjoy your journey into the world of cybersecurity with Kali Linux!