How to Install Kali Linux on VirtualBox: A Step-by-Step Guide
Tags: linux, cybersecurity, security
Published: 2021-09-18 13:01:53

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9jdz1ov1tey29xhjj7hk.png)
Kali Linux is a Debian-based Linux system that was created for penetration testing and is particularly beneficial for security professionals and amateurs. Kali Linux, formerly known as BackTrack Linux, comes with a number of network auditing tools and apps. Kali can be used as a Live DVD or installed as a host operating system (OS) on a computer like any other Linux.However, using Kali as a general-purpose desktop operating system is not recommended. At the same time, settings are not saved after a system reboot when using Kali Live DVD. Virtual machines can be extremely useful in this case. In today's blog post, we'll look at how to set up Kali Linux as a virtual machine in VirtualBox (VM).

**Software Required To Download**
* [Kali Linux ISO Image](https://www.kali.org/get-kali/#kali-bare-metal)
* [Virtual Box 6.1.26](https://download.virtualbox.org/virtualbox/6.1.26/VirtualBox-6.1.26-145957-Win.exe)
* [Virtual Box Extension Pack 6.1.26](https://download.virtualbox.org/virtualbox/6.1.26/Oracle_VM_VirtualBox_Extension_Pack-6.1.26.vbox-extpack)

Download This All Tools.

**Kali Linux Installation Image Download**

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8h9de9xhx9aerdja4em7.jpg)
[Click Here To Download](https://cdimage.kali.org/kali-2021.3/kali-linux-2021.3-installer-amd64.iso)
Now, After Downloading Let's Move Ahead!

**Creating a New Virtual Machine**
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v6qs8decqhngwg2vfv0b.png)
Set the following VM parameters:
**Name: Kali Linux**
Note: You Can Enter Any Name You Want Here I Am Going With Default Name.
**Machine Folder: Default**
**Type: Linux**
**Version: Debian (64-bit)**
**Memory size: 4096 MB**
Note: Here I Have Given 4GB As Ram Size You Can Set As Per Your System Requirements.
Although you should allow enough unallocated memory to operate your host OS, the VM memory capacity must be large enough to run a guest OS.

**Hard disk: Create a virtual hard disk now**
Hit Create to continue and configure a new virtual hard disk.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ti5cquijei0cwcig5ifb.jpg)

The VM folder is intended for storing virtual disc files (such folder is selected by default).
Set the size of the virtual disc file. It must be at least 20 GB in size.
After creating a new VM, some additional settings must be configured. Select your recently created virtual machine and open the VM settings.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ge8uiqqtpgv9kottaa40.png)

**Display options**
Go to Display > Screen and set Video Memory to 128 MB. It will prevent installer hanging.
Then, select Enable 3D acceleration from the drop-down menu (optional). It'll come in handy for applications that require 3D acceleration.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yqhh976q5ezvh2ywvtga.png)

**Network options**
Next, navigate to the network settings and pick the virtual network adapter's networking mode. To use the VM network adapter as if it were a physical network adapter on the host machine, select the Bridged mode. The VM network adapter is linked to the same physical network as the host system in this scenario. Additional settings, such as network adapter name and type, can be configured.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kfp8vn67eui4ik51ukma.png)
**Boot options**
You must first insert your virtual ISO DVD image into the VM's virtual DVD drive, and then boot from that ISO disc. Go to Storage in the VM settings and select an IDE controller for your virtual optical drive (it is empty by default). Click the empty status, then the disc symbol near IDE Secondary Master, and then Choose Virtual Optical Disk File from the menu that appears.
Look through the Kali Linux installation ISO image you previously downloaded from the official site (kali-linux-2021.3-amd64.iso). To save your settings, click OK.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3z8l5lthwy0vcy2fi31a.png)
You may now start your new VM and begin installing Kali. By Pressing Start Button On The Main Menu Of Virtual Box.
You'll get a boot menu after booting from a virtual DVD, where you can choose from Kali Linux boot choices like Boot from Live DVD, Install, Graphical Install, and so on. Let's go with the Graphical Install option. To continue, press Enter.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/evv5krb7d4hlh6plqh0b.jpg)
Now,

**Choose a language.** Select the language for both the installation procedure and the installed system. For the current installation, English has been chosen. To proceed, click the Continue button on each screen. 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1732yuysdpd9ziwt0pei.jpg)

**Choose a location.** This option allows you to change your time zone, time format, and other settings. In this case, the United States has been chosen.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kbayhmxopz54ppxsfu1n.jpg)

**Set up the keyboard.** Choose a keyboard layout. The current installation makes use of American English.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o5lthuzxuyjs0wkyis83.png)

**Set up the network.** Enter your Linux system's hostname, for example, kali-virtualbox.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uc524g29s7uw1tmqv58q.png)

**Set up the domain name.** If your network doesn't use a domain, you can leave this box blank.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sf3vq2m1a8w5amncad33.png)

**Create user accounts and passwords.** Read the helpful hints on this screen before entering the root password.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4vvjheck6bg4swq9dpdh.png)

**Disks for partitioning.** Disk partitioning can be done manually or with the help of a programme. You can choose Guided – use whole disc for the first time. To create one large partition, the entire drive will be utilised.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e2do5014zq5jhas1uyou.png)
Now,
**After This Set EveryThings As Default And Press Continue.**

Select Finish partitioning and write changes to disc from the overview.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3vf3bcjibx4gpv1rawu6.png)
Select Yes and confirm that you would like to write changes to the disk.
Now,
System Will Install Linux For You If **Any Things Are Asked Keep It Default.**
ENJOY!!!