How to install Kali Linux
Objective
Install Kali Linux
Distributions
Youโll just need a working install of something to make the install USB
Requirements
A free hard drive to install Kali
Difficulty
Easy
Conventions
- #ย โ requires givenย linux commandย to be executed with root privileges either directly as a root user or by use ofย
sudoย command - $ย โ givenย linux commandย to be executed as a regular non-privileged user
Introduction
Kali Linux is a powerful toolkit for security testing. In most cases, you can simply run it temporarily from a USB drive, but there are occasions when you want a dedicated Kali install for longer term testing.
Please keep in mind that Kali is not a general purpose Linux distribution. It is not intended for daily use and may(ironically) prove insecure.
Make The USB
Before you can get started, youโre going to need an install medium. A USB drive is usually the best option. Head over to the Kali download page, and grab an image. The first option is usually the best choice.
Once you have your image, insert your USB drive. Make sure the driveโs empty. Youโll lose everything on it. Find your drive location. You can use GParted if youโre lazy.
When youโre absolutely sure you have the right drive, flash your image with dd.
$ sudo dd if="kali-linux-XXXX.X-amd64.iso of=/dev/sdX bs=8M
Itโll take some time to write, so be patient.
Begin The Install
Insert the USB drive into the computer that you want to install Kali on, and boot. Make sure to select the USB drive as the boot device.
Kali Linux Install Boot Menu
When Kali starts up, itโll give you a boot menu to let you choose how to run Kali. Select โInstall.โ
Basic Configuration
Kali Linux Install Set Language
Kaliโs installer isnโt pretty, but if youโre familiar with Debian, you should recognize it immediately. The first thing that Kali is going to ask you to do is set your language, so do that.
Kali Linux Install Networking
Next, itโll attempt to automatically configure networking for you. If you have a wireless card, you can set it up during this stage.
Kali Linux Install Set Hostname
Once youโre connected, Kali will prompt you to set a hostname for your computer.
Kali Linux Install Root Password
After that, youโll be asked to set a root password. Keep in mind that youโll be doing everything as root in Kali, so make sure itโs memorable.
Kali Linux Install Set Timezone
The last bit of information that Kali will prompt you for in this stretch is your timezone.
Formatting
Kali Linux Install Fromat Drives
The next stage of the install takes you through formatting your drives. If youโre comfortable here, feel free to configure your drives yourself. If not, you can safely trust the defaults and use the guided partitioning.
The Installation
Kali Linux Installing
Once you have your drives configured, Kali will kick right off installing everything. If youโre a Debian user, you might notice that this part is different. Kali doesnโt ask which software to install. It does its own thing, and copies over everything thatโd be on a live CD. Needless to say, this part of the install does take some time.
Kali Linux Install Network Source
When itโs finished setting up everything from the USB, itโll ask you if you want to use networked sources. Agree. This will get you updates now, and make updating Kali easier.
GRUB
Kali Linux Install GRUB
Finally, Kali will reach the tail-end of the installation. Itโll ask you to install GRUB. Install it on your hard drive.
Finishing Up
The installation will only take a couple of seconds to install GRUB. Then, itโll let you know that the installation is complete and ask you to restart your computer.
Kali Linux Desktop
When the computer restarts, it should automatically boot into your new Kali install. Enter your root password, and youโll arrive on your Kali desktop.
Closing Thoughts
You now have a functional install of Kali Linux on your computer. Make sure to keep it updated, and only use it for testing. Also keep in mind that youโre doing everything as root, so itโs very easy to break things.