START here

How to install Kali Linux

Step-by-step instructions for Kali Linux installation and setup. Mostly screenshot based, with explanations beneath each images and in between – where needed. If you wish to install Kali Linux as a virtual machine, take a look at the post explaining VirtualBox installation and setup. Before installation instructions, I will briefly explain what Kali Linux is.

Contents:

  1. What is Kali Linux?
  2. Kali Linux installation


1. What is Kali Linux?

Kali Linux is Debian based Linux distribution. Development of the distribution began in 2012, with the first version published in March 2013. Developers are Mati Aharoni and Devon Kearns from the company Offensive Security, with Raphaël Hertzog joining a bit later as a Debian expert. It differs from most other Linux distributions by the following characteristics:

Pre installed tools and applications
It comes with installed tools (applications) for security testing, for monitoring network traffic etc.

Closed ports and minimal packet sending
It comes with the motto “The quieter you become, the more you are able to hear”. That is: most “regular” operating systems (including most Linux distributions) have many regular network communication ports open – for application use. Also, both OS-s and applications often send some packets to the Internet, ranging from simple Windows time sync, to application and OS tracking cookies and data. With Kali Linux, everything that isn’t necessary for Internet connection is disabled/closed. I.e. it doesn’t send more data than is absolutely necessary for the tasks that are being done.

Default user mode as a root user
Most Linux distributions are used logged in as administrator, or user, with entering root password only when needed – to install programs etc. With Kali Linux, this “inconvenience” is skipped: you log in as a root from the very start (the only existing user after the installation is root). If one does not know exactly what they are doing, this can be dangerous – it is easy to mess things up. You won’t get any warnings, won’t be asked for password – all the commands will just be executed. Again, this is very practical if Kali is used for what it’s intended and if the user knows what they are doing.

What is not installed
Regular applications like Open Office, mail client etc, are not installed. In short: everything used by “normal” every day users are not installed with the Kali distribution. Yes, you can install them later on at any time, but everyday computer use is not what Kali Linux is intended for (see the previous paragraph).


2. Kali Linux installation

Insert bootable USB, CD, or start a bootable .iso from a virtual machine.

This manual is made for the Graphical install, so you can choose that
This manual is made for the Graphical install, so you can choose that
Picture 1
Choose your preferred installation language - I opted for English
Choose your preferred installation language – I opted for English
Then click on “Continue”
Picture 2
Choose your location (1) and click on "Continue" (2)
Choose your location (1) and click on “Continue” (2)
Picture 3
Choose desired keyboard layout (1) - I chose Croatian, then click "Continue" (2)
Choose desired keyboard layout (1) – I chose Croatian (QWERTZ), then click “Continue” (2)
Picture 4

Now wait a bit while files are loaded from the “CD”.

Enter computer's host name you like (1) and click "Continue" (2)
Enter computer’s host name you like (1) and click “Continue” (2)
Picture 5

In the remainder of this manual, in order to make it easier to read, I’ll cut out the part of the screenshot that shows the option to be clicked on at the end (like “(2)” in picture 5). I will only name it.

Enter your domain name, or just leave it blank and click "Continue"
Enter your domain name, or just leave it blank and click “Continue”
Picture 6
Enter your root password, twice, to avoid any typing mistakes (1), then click "Continue" (2)
Enter your root password, twice, to avoid any typing mistakes (1), then click “Continue” (2)
Picture 7
Select the time zone and click "Continue"
Select the time zone and click “Continue”
Picture 8
Disk partitioning options Set up LVM (2) enables you to change partition space later, while Encrypted LVM (3) encrypts all the stored data
Disk partitioning options
Set up LVM (2) enables you to change partition space later, while Encrypted LVM (3) encrypts all the stored data
Then click “Continue”
Picture 9
Choose the disk where Kali Linux will be installed (on my VM there is only this one disk available, so not much of a choice) Then click "Continue"
Choose the disk where Kali Linux will be installed (on my VM there is only this one disk available, so not much of a choice)
Then click “Continue”
Picture 10
Choose which partitions to create Option (2) is a "classic" Linux setup, but choosing the option (1) can make things simpler with Kali
Choose which partitions to create
Option (2) is a “classic” Linux setup, but choosing the option (1) can make things simpler with Kali
Choose the desired option, then click “Continue”
This manual is based on choosing the option (1)
Picture 11
Unless you wish to make some changes, choose "Finish partitioning...", then click "Continue"
Unless you wish to make some changes, choose “Finish partitioning…”, then click “Continue”
Picture 12
Now you are asked to confirm the setup and write all the changes to disk ("Yes") - with another "Continue" after that
Now you are asked to confirm the setup and write all the changes to disk (“Yes”) – with another “Continue” after that
Picture 13

Now wait a bit until all is finished…

Choose "Yes" for network mirror to get updates over the Internet, then "Continue"
Choose “Yes” for network mirror to get updates over the Internet, then “Continue”
Picture 14

The following screen is for setting up HTTP proxy if that is used, for me this is left blank:

Enter proxy setup if using it (1), click "Continue" (2)
Enter proxy setup if using it (1), click “Continue” (2)
Picture 15
Say "Yes" to installing GRUB (Grand Unified Bootloader), unless you have a good reason not to, then "Continue"
Say “Yes” to installing GRUB (Grand Unified Bootloader), unless you have a good reason not to, then “Continue”
Picture 16
Choose the drive where Kali is installed for GRUB loader
Choose the drive where Kali is installed for GRUB loader, then “Continue” – once more.
Picture 17
That's it, installation complete, just one more "Continue"
That’s it, installation complete, just one more “Continue”, but first read the comment below this picture
Picture 18

If the computer is set to boot from USB, or CD, remove the bootable installation medium (if Kali was installed from it) before clicking “Continue” – you can later change BIOS settings so that the first boot device is the disk where Kali Linux is installed.


Please use the BikeGremlin.net forum for any comments or questions.

If you've found any errors or lacking information in the article(s) - please let me know by commenting on the BikeGremlin forum.
You can comment anonymously (by registering with any name/nickname), but I think it is good to publicly document all the article additions (and especially corrections) - even if their author chooses to remain anonymous.

Skip to content