Install Kali Linux 2022.2 on VirtualBox

|
Last Updated:
|
|

In this tutorial, you will learn how to install Kali Linux 2022.2 on VirtualBox. Kali Linux is an Advanced Penetration Testing Debian-based Linux distribution used for Penetration Testing, Ethical Hacking and network security assessments.

Kali Linux 2022.2 is the second (Quarter 2) 2022 Kali Rolling release. It comes pimped with various awesome updates.

Install Kali Linux 2022.2 on VirtualBox

Download Kali Linux 2022.2 Image

Navigate to Official Kali Linux images downloads page and grab Kali Linux 2022.2 installation ISO. You can simply obtain the link to the ISO and pull it using wget or curl tools;

wget -c https://cdimage.kali.org/kali-2022.2/kali-linux-2022.2-installer-amd64.iso

or

curl -L -O https://cdimage.kali.org/kali-2022.2/kali-linux-2022.2-installer-amd64.iso

Create New Virtual Machine on VirtualBox

Once you have Kali Linux 2022.2 ISO file downloaded, launch VirtualBox and create a new VM. You can create a new virtual machine by clicking on the VirtualBox menu, Machine > New. You can simply press Ctrl+n;

Set the Name and OS type of the VM

  • Set the name of the VM
  • Define the machine installation folder
  • Select the type of OS and the version to install
Install Kali Linux 2022.2 on VirtualBox

Define the Memory Size of the VM

Allocate as much memory to the VM as you possibly can but should not be more than the host RAM.

kali linux memory

Create Virtual Hard Disk for the VM

You can create a new Virtual Hard Disk or use an existing if you have, for the VM.

kali linux vm hard disk

Define VM Hard Disk File Type

On the next page, choose whether to assign a dynamic or fixed size storage type to Kali Linux VM.

Set the storage location and size of the storage disk as well. Be sure to assign enough storage. We assigned 20G in this setup. Click Create when done.

Define Kali Linux Virtual Machine Settings

Once you create a Kali Linux virtual machine, it should now be listed among your other VMs on the left pane of the VirtualBox.

Right click on the Kali Linux VM and choose settings or simply highlight the VM and press Ctrl+s to open the VM settings wizard.

Allocate vCPU cores to the VM

Allocate more vCPUs to the VM by clicking on the settings menu and heading over to processor tab.

Install Kali Linux 2022.2 on VirtualBox

Attach the Installation Medium

Click on the Storage menu > Storage Devices > Controller: IDE > Add optical Drive. Choose the Kali Linux 2022.2 ISO file you downloaded.

Install Kali Linux 2022.2 on VirtualBox

Set the VM Networks

Click on the Network settings to attach the NICs to your VM.

  • On the first adapter 1, leave it with the default NAT so as to give the VM internet settings.
  • On adapter 2, you can choose to either bridge or set the host-only interfaces.
Install Kali Linux 2022.2 on VirtualBox

Define any other VM settings as you wish. Click Ok when done to close the VM settings wizard.

Install Kali Linux on VirtualBox

Click the VM to highlight it and click the start button at the top menu or simply right click on the vm and click Start > Normal Start to power on the VM and begin installation.

Once the VM starts, you are provided with multiple installation options. Choose Graphical Install and press enter to begin the installation.

install kali linux 2022.2

Go through the installation process to install and setup Kali Linux 2022.2 on VirtualBox. The remaining steps are;

  • Choose your Kali Linux 2022.2 installation language.
  • Define your location. This is used to set your timezone and system local settings.
  • Configure the Keyboard keymap to use. We choose the default option in this setup.
  • In the next step, the system detects and mounts the installation media for the installation process.
  • Configure system network.
    • Select the primary network interface, choose the first interface, which is the NAT interface in this example.
    • Set the hostname, the domain name
  • Setup up users and passwords
  • Configure the system clock by choosing your timezone based on the location you chose above.
  • Select your system disk partition schemes. We used Guided -use entire disk scheme in this setup.
  • The system then goes through package installation to install the base system.
  • Once the base system installation completes, you are prompted on extra packages to install. This includes the Desktop Environments you might want to install on your new Kali Linux 2022.2 system.
  • Install Grub on the root disk to make your system bootable.
  • Once the installation and setup completes, reboot the system.
  • Boot into your Kali Linux 2022.2 system.

Booting into Kali Linux 2022.2 on VirtualBox

Once the installation process completes, reboot your system and boot into it.

Boot to Kali Linux 2022.2 on VirtualBox

Login to your Kali Linux 2022.2 machine using the username and password setup before.

Install Kali Linux 2022.2 on VirtualBox

Upon successful login, you land on Kali Linux 2022.2 desktop.

kali 2022.2 ui

You can now start to explore a thousand security tools that this awesome Kali system comes bundled with.

That marks the end of our guide on how to install Kali Linux on VirtualBox. Enjoy.

Also read on;

Install VirtualBox Guest Additions on Kali Linux

Related Tutorials

Install NoMachine on Kali Linux

Install Portainer on Debian 11/Debian 10

SUPPORT US VIA A VIRTUAL CUP OF COFFEE

We're passionate about sharing our knowledge and experiences with you through our blog. If you appreciate our efforts, consider buying us a virtual coffee. Your support keeps us motivated and enables us to continually improve, ensuring that we can provide you with the best content possible. Thank you for being a coffee-fueled champion of our work!

Photo of author
koromicha
I am the Co-founder of Kifarunix.com, Linux and the whole FOSS enthusiast, Linux System Admin and a Blue Teamer who loves to share technological tips and hacks with others as a way of sharing knowledge as: "In vain have you acquired knowledge if you have not imparted it to others".

Leave a Comment