How To Install Kali Linux On A PC/Laptop

The Kali Linux distribution is used primarily for testing security systems, networks, and web applications. It was developed in 2006 based on Debian and accordingly supports its packages in general and applications in particular. It was initially known as the Backtrack. Since 2013, the version has been known to users under its current name.

Kali Linux is not for beginners, nor is it intended for desktop use. Instead, it is a powerful distribution and is widely used by hackers and security analysts who try to prevent hackers. The reason Kali is so popular among hackers is that it is a super penetration testing and security auditing distribution.

Install Kali Linux ISO

The best way to know the basics of Kali Linux is through its documentation available on its website. What’s great is that the documentation is multi-lingual. Since Kali’s functionality is extensive, you will have to read the manual at least once.

While you can learn to ethically hack using any Linux distribution, Kali Linux is specifically designed for this purpose. You can even use Windows operating system to learn to hack, but why reinvent the wheel (Kali) if it was invented long ago. In this article, you will learn how to set up Kali Linux and use it. Our guide is excellent for novice uses who try their hands with Kali Linux distribution.

Kali-Linux is not as universally applicable as Debian. Also, unlike Debian, Kali is rolling the release. It means that it receives package updates much more frequently and that there is no version “advances.” If you’re wondering how to install Kali Linux, you’ve come to the right place.

Kali Linux is a distribution that is equipped with a functional desktop and can therefore be used by everyone. The new version 2020 installs a user who initially has limited rights by default. As with all Linux distributions, these can be expanded using the sudo command. Even then, most tools still require root privileges.

In all previous versions of Kali, the default credentials were root. However, they have now switched to the standard unprivileged user. So when you install Kali, the default user is not the superuser account.

Kali Linux is also an excellent distribution for those who want to check their systems for weaknesses or penetration points. What is also very interesting and vital is that Kali Linux was ported to the ARM architecture. What this implies that if you want to install Kali on your tablet, you can do so. It can also work in Live-USB mode, with the ability to save files (USB-persistence mode), and can also be installed as a full-fledged operating system.

One of Kali Linux’s key features is the significant number of pre-installed utilities required to conduct various security tests. There are more than 300 of these utilities.

System Requirements

But before we get into the Kali Linux distribution, let us look at the system requirements a computer must meet to install Kali. The installation process may seem daunting at first, but it is why we have a step-by-step guide to get through the installation process. 

Despite numerous pre-installed programs in the distribution kit, Kali does not require much space. The minimum system requirements are 10 GB of free hard disk space and at least 512 MB of RAM. This requirement is enough if you only want to install the primary secure shell server without the desktop environment. However, if you’re going to install the Xfce4 desktop and the Kali default metapackage, then you will 2048 MB of RAM and a minimum of 20 GB disk space. 

Install Kali Linux

Preparing to install the system

Before we install Kali Linux, there are some prerequisites that you need to note. You will either need a UDB flash drive or a CD/DVD drive. You need this to burn the image. At the same time, you should have a good stable internet connection. 

STEP 1. Downloading a system image

You can download the image from the official website – kali.org/downloads. You will see several options from various architectures and bit depth to the version you want to download. Choose the one that suitable for your needs and meets your requirements. You can even choose the year of release and the version (full or lightweight). The website also offers the option to download it through a torrent tracker. 

STEP 2. Burning an image to a USB flash drive or disk

Now that you have the image file, it is time to burn it to a USB drive or disk. The process is not the same as for other software. You will have to use third-party software to write an image of Kali Linux. Some of the best are LinuxLive USB Creator, Unerbootin, and Xboot. The way to write Kali on all the above programs is almost identical. All you have to do is choose the device and select a boot method. In this case, we are burning an ISO image to a USB drive. Next, you have to choose the partition scheme, target system, and formatting options. Plus, make sure that you set it FAT32 file system. All you have to do is wait until the process is complete. 

STEP 3. BIOS/UEFI setup

For the computer to boot from portable media, you need to set it in priority via BIOS/UEFI. To do this, restart the computer and then press the hotkey. Depending on the motherboard version, it can F2, Del, F8, or even a combination of Shift + F2. Go to the Boot tab in the resultant window. Next, you have to click on the ‘Boot Device Priority’ element and set your portable device (USB drive/CD) in the first position. 

Installing Kali

The installation process may seem difficult initially, but our step-by-step guide will break down the process to make it simple. You have already done half of the work once you have the Kali IOS image on your portable device.

STEP 1. Launching the Kali Installer

The first and foremost task is to connect your USB drive or CD to the optical drive and restart the PC. On boot, you will witness a graphical menu. Navigate using the up and down arrows, and choose the ‘Graphical Install or Install’ option press the Enter key. In case you are using a live image, you will be greeted with other options such as Live (amd64), Live (amd64 failsafe), etc. It is also the default boot option. 

STEP 2. Selecting the language of the installation process

Next, you will have to choose a language. A small window will appear with all the supported languages. In our case, we will select English and hit ‘Enter.’ This will be the default option of the installer as well as the operating system. 

STEP 3. Country selection

In the next step, you have to select a country. It is best to choose the one you live in to sync the operating system to the correct time zone. You can always change the time zone later. For now, we will select the United States. You can choose another country by selecting the corresponding country.  

STEP 4. Choosing a keyboard layout

Once you have selected the language and country, you are asked to choose a keyboard layout. You can select the keyboard layout you use. In our case, we will use the ‘American English’ keyboard layout. What’s great is that Kali supports almost all languages. Therefore, choose your keyboard layout and hit Enter. 

STEP 5. Selecting a keyboard shortcut to change the layout

The latest version of Kali Linux distribution allows users to modify key combinations to change the keyboard layout. There are several proposed layout options to choose from. The best key combination is Ctrl + Shift, but you can choose to use any other key combination.

Once done, the installer will initiate to download all the necessary packages and connect to the internet. You will see a progress bar that will indicate the installation status. You just have to sit back and relax until the installation is complete. Not only that, but you do not have to click or do anything till the process is complete.  

STEP 6. Name of the PC

Next, you have to come up with a name for your computer, which will later display the system on the network. Enter the name and go to the next step. 

STEP 7. Specifying the domain name

You can choose to enter a domain name if needed. In case you are planning to use your home network, you can choose any name you like. 

STEP 8. Setting the superuser password

Setting the password is one of the most important steps in the process. In a resultant window, you will be asked to enter a password for the root superuser account. You can check the password to check if you have entered it correctly. It is advisable to confirm it as you do not want to lock yourself out of the system. 

STEP 9. Clock setting

In the previous steps, we entered the country so that the system syncs the time accordingly. But if you live in a country like the United States, where there are various time zones, you can choose to change the clock setting. You will have to wait a few minutes until all settings are effectuated. 

STEP 10. Disk layout

This is where the fun begins. You can either use the entire disk for the Linux OS by switching it to automatic partitioning mode. However, if you know how much disk space you want to assign for the Linux distribution, then you can do it manually. But that’s an entirely different story. The setting is more relevant if you have two or more drives. Most have PCs have more than two drives. 

Next, the resultant window asks if you want to move the system data to the new partition or split it. At this stage, you can select a file system, configure the amount of space for root files, set a swap partition, etc. However, if you are a novice user and doing it for the first time, then it is best to choose the first option you see. 

The window will display all the settings to confirm your choices. If all is set according to your requirements, then just confirm to finish the process. The system might prompt again to reconfirm the changes you have made. Just choose “yes” to complete the process. The process will take a few minutes to complete, so sit back and relax. 

STEP 11. Configure the package manager

Here you can select how you want to set up the package manager. If there is a website from which the latest updates and programs will be downloaded, you can specify it in this section. If so, then select “Yes” to configure the network mirror. It will set up the required repositories. In case you do not have a stable internet connection, you do not need to click “yes” in the above option. 

STEP 12. Installing the bootloader

Installing the bootloader is one of the last tasks for installing the Kali Linux distribution. You can choose to skip this option if your PC already has a bootloader from another operating system. If you want to install it, then click ‘yes’ to install the GRUB bootloader. 

Voila! The installation process is complete, and you can try your hands at Kali Linux. You might have to wait for a few minutes for the system to copy to the hard drive. 

Once done, the system will prompt to reboot the computer. After rebooting, you will see a FRUB bootloader interface. You will see two options – ‘Kali GNU/Linux’ and ‘Advanced options for Kali GNU/Linux.’ Here you have to select the first option – Kali GNU/Linux. It might take a few minutes for the download to complete. 

Once done, you will see a gray window where you will have to input the root username and password. The password will be the same as you set earlier. After you enter the credentials to login into the account, you will see the Kali Linux operating system on your PC screen. 

Despite all the distribution kit capabilities, the installation process is practically the same as installing any other operating system. But here, there are some nuances – such as the pseudo-graphic interface installation. Plus, you have the option to install through a full-fledged graphical menu as in Debian. These installation methods are similar to each other, so these instructions are universal.

Basic Anonymity Parameters

If you are looking for anonymity, then here are basic settings that can help you. These settings do not guarantee complete anonymity. 

To begin with, let’s make sure that every time the system boots, the MAC address changes to a random one. And to do this, we need to open the /etc/NetworkManager/NetworkManager.conf file and change its contents to something like this:

[main] 

plugins = ifupdown, keyfile

[ifupdown] 

managed = false 

[connection] 

wifi.cloned-mac-address = random 

[connection] 

ethernet.cloned-mac-address = random 

Once done, you need to restart Network Manager. Here is the command for it:

sudo service network-manager restart

After that, let us ensure that all system traffic goes through the Tor network. You will have to enter a few commands to do that. 

sudo apt-get install tor

sudo systemctl start tor

git clone https://github.com/ruped24/toriptables2

cd toriptables2 /

sudo mv toriptables2.py / usr / local / bin /

Once the Tor is installed, you can enter the below command to route all traffic through the Tor network:

sudo toriptables2.py -l

In case you want to disable it, use the below command:

sudo toriptables2.py -f

How To Install Kali Linux on a USB Stick?

Install Kali Linux On USB

It is a very popular question, and many programmers want to learn how to get Kali on a USB drive. It is why we have created this easy installation guide that will guide you through the process. 

For anyone who is just starting to get acquainted with Linux, the very first and most challenging question always arises: how to install Linux? 

If you do not have the experience or follow proper instructions, you can accidentally delete partitions on your hard disk or make other serious blunders. Plus, these mistakes can cost you. 

Interestingly, any Linux can work on a computer without actually installing it to the computer. You can run Kali Linux using a CD-DVD drive, an external hard drive, a virtual machine, or just using a flash drive.

For now, we will show you how to run Kali Linux from a USB drive. What’s great is that you can try several operating systems without actually installing them on the computer. In case you want to try Ubuntu instead of Kali, you will have to install Ubuntu on the USB Flash. It is also very convenient as you can use any Linux distribution on the go. You just have to plug the flash drive. 

There are many programs for installing Linux on a USB flash drive, but we will focus on just ‘UNetbootin.’

UNetbootin is a simple program that allows users to create a bootable Live USB drive for all Linux distributions. You do not even have to go through the old process of burning a CD. You can either supply the .iso file or let UNetbootin download the Linux distribution you want to use. 

On Linux, you can install Unetbootin with a single line of command:

sudo apt-get install unetbootin

That’s it; the program is installed. If the system prompts for administrative permission, then click on ‘Y’ to proceed. 

Once installed, you can run the program. UNetbootin has a very user-friendly interface and is an easy-to-use utility. For our example, we are going to use a .iso image. Here are the step-by-step instructions to install Kali Linux or any other Linux distribution on a USB drive. 

1. Select the item “Diskimage” – First and foremost, select the .iso image you have on your computer. While you can install any Linux distribution on a flash drive, Linux Mint is by far the best option. It is straightforward to use, and the desktop environment is more user-friendly. It is advisable to allocate some disk space on the USB drive if you plan to run your Linux from a USB drive constantly. This way, all your settings will be saved and load upon reboot. 

2.In case you have multiple USBs plugged into your PC, select the USB drive where you want to install Linux. If only one USB is selected, then the program will automatically detect it.  

3. Click on the ‘OK’ button, and your flash drive will have Linux on it. 

Finally, you will have to restart your computer and boot from the USB drive. For that, you have to enter the BIOS and change the boot parameters. 

Installing and running Linux from a USB flash drive is very easy. UNetbootin is only one of the many programs that do the same task. 

How To Install Kali Linux on VirtualBox

Install Kali Linux In VirtualBox

Installing Kali Linux in VirtualBox is pretty straightforward and will only take a few steps. First and foremost, you have to download the virtualization software. In our case, we are going to use the most popular and widely used software – VirtualBox. It’s an excellent open-source virtualization solution designed for just about everyone. Plus, it’s available free of charge.

While we are focusing on Kali Linux, you can install almost any Linux distribution the same way. All you need is the ISO file or the pre-created VM file. Here is the step-by-step guide to install Kali Linux on VirtualBox.  

1. Download VirtualBox from Oracle’s official site.

2. Once the installer is downloaded, double-click on it to install VirtualBox.

3. Next, you have to download the virtual machine image of Klai Linux for VirtualBox. You can download it from the Offensive Security download page. You can also choose to use the VMware file. 

4. There is also an option to download a 64-bit Vbox or 32-bit version. You can download the file using the Torrent option or the Download Manager. If you don’t know which one to choose, enter Kali Linux in the name field so that the VirtualBox will automatically fill in the fields.

5. Now, you only have to import the ISO image into VirtualBox. 

6. To Import, start VirtualBox and click on the import button you will see on the top panel. Next, look for the file you just downloaded. Select that file and click on Import. Users must note that the file name must start with “Kali Linux” and end with the .ova extension.

8. Once you have selected then click on the “Next” button.

9. The resultant window will show the settings of the virtual machine. If you do not want to customize it, it is best to leave it to default settings. 

10. Next, choose a path where you have enough free space. It is highly recommended to avoid using the C: drive on Windows.

11. After you are done with the settings, click Import and wait for a while.

To maximize integration with all hardware devices and enable folder sharing between the main operating system and Kali Linux, you can also install VirtualBox Guest Additions on Kali Linux. To do so, you have to run these command from your Terminal: 

apt-get update

apt-get install -y VirtualBox-guest-x11

start anew

Final Words

The above is a brief on how to download and install Kali Linux on almost any device. The Kali distros come with many penetration testing tools, so you can give it a try. You may consider trying other Linux Distros as well if you are a beginner. If you are a gamer, then you must check out the Linux Distros for Gaming as well.

Leave a Comment

AboutContactCookie PolicyDisclaimerEditorial PolicyPrivacy PolicyTeam