Kali Linux is the distribution most security professionals reach for first. It ships with hundreds of penetration-testing, forensics, and auditing tools pre-installed — and several of them need raw access to your network hardware to work properly.
That last part is why how you install Kali matters. Install it the wrong way and Wi-Fi testing tools may not see your wireless card at all.
This guide covers the two installation methods that make sense for most people: running Kali inside a virtual machine (safest, recommended) and a native dual-boot (full hardware access).
Before you start
- RAM: 4 GB minimum, 8 GB recommended
- CPU: dual-core or better
- Disk: at least 32 GB free
- Backup: anything important on the target machine
Download the latest Kali image from the official site (kali.org/get-kali). Pick the installer image for your architecture — usually x86_64.
Option A: Kali in a virtual machine (recommended)
Virtualization keeps your main operating system untouched, and lets you snapshot Kali before you break something.
- Install VirtualBox or VMware Workstation Player.
- Create a new VM. Assign at least 4096 MB RAM and a 50 GB virtual hard disk (VDI, dynamically allocated).
- Open the VM settings, find the optical drive controller, and point it at your downloaded Kali ISO.
- Start the VM and choose Graphical install.
- Set the hostname, domain (optional), and a strong root password.
- For partitioning, choose Guided — use entire disk. This is a virtual disk, so it is safe.
- Complete the installation, reboot, and log in with the credentials you created.
Post-install: increase the CPU core allocation and enable 3D acceleration in the VM settings if you plan to run GUI-heavy tools.
Option B: Native dual-boot (advanced)
Dual-booting gives Kali direct access to your Wi-Fi card and GPU, which matters for wireless auditing and GPU-accelerated password recovery.
- Shrink your existing partition (Disk Management on Windows) by at least 50 GB and leave the space as Unallocated.
- Create a bootable USB with Rufus using the Kali ISO.
- Boot from the USB — usually F12, F2, or DEL for the boot menu.
- In BIOS/UEFI: set Boot Mode to UEFI and disable Secure Boot. Secure Boot frequently prevents Kali from booting.
- In the installer, choose Manual partitioning and create:
-
/boot/efi— ~512 MB, FAT32 -
swap— roughly equal to your RAM -
/— the remainder, ext4
-
- Install the bootloader to the primary drive (for example
/dev/sda) and finish the install.
First things to do after installing
sudo apt update && sudo apt full-upgrade -y sudo apt install -y kali-linux-default # only if you installed the slim image Once you have a clean, working install, take a snapshot (VM) or make a recovery USB (dual-boot). Future-you will be grateful.
Which method should you pick?
| Virtual machine | Dual-boot | |
|---|---|---|
| Risk to main OS | None | Partitioning risk |
| Wi-Fi / wireless testing | Limited | Full |
| GPU access | Limited | Full |
| Best for | Learning, forensics, most auditing | Wireless testing, password recovery |
Start with the VM. Move to dual-boot only when you hit a tool that genuinely needs direct hardware access.
This guide is adapted from the full walkthrough on hSECURITIES, where we go further into post-install hardening and tool configuration.