Skip to content
Hogin Hogin
Go back

Installing Kali Linux on a Hetzner Server

2 мин чтения

Although Hetzner doesn’t provide prebuilt Kali Linux images, you can deploy it on a server manually via the Rescue System and booting the mini.iso. This method works on both dedicated and cloud servers.

Step 1. Boot into the Rescue System

In the Hetzner panel, switch the server to Rescue Mode (Linux 64-bit) and reboot.

After that, connect to the server over SSH (the login details are emailed to you).

Step 2. Prepare the Disk and Download mini.iso

In Rescue mode we can download the minimal Debian installer, on which Kali is based.

# Download the netboot ISO
wget http://http.kali.org/kali/dists/kali-rolling/main/installer-amd64/current/images/netboot/gtk/mini.iso -O /root/mini.iso

Step 3. Write the ISO to Disk

WARNING: this command will completely wipe the disk (/dev/sda or /dev/nvme0n1). Confirm the disk name with lsblk before running it!

dd if=/root/mini.iso of=/dev/sda bs=4M status=progress
sync

Step 4. Reboot into the Installer

After writing the ISO, reboot the server:

reboot

The server will boot into the Kali installer (mini.iso). Through the Hetzner console (or VNC) you can go through the standard installation procedure:

Step 5. Finishing the Installation

Once the installation is complete, the server will automatically reboot into Kali Linux.

Connect over SSH with your password or key to continue the configuration.

Additional Notes

sudo apt update && sudo apt full-upgrade -y

✅ Your Hetzner server now runs Kali Linux and is ready for tests and experiments.


Share this post:

Previous Post
MDT Deployment & Administration. Part 3: Creating a New Task Sequence
Next Post
A Guide to Setting Up pgBackRest for PostgreSQL