Raspberry Pi 2
Table of Contents
If your Raspberry Pi 2 has
Raspberry Pi 2 Model B V1.2 printed on the PCB above the CPU, we suggest to follow the Raspberry Pi 2 v1.2 documentation. However if it says
Raspberry Pi 2 Model B V1.1, keep reading
By default, the Kali Linux Raspberry Pi 2 image contains the kali-linux-default metapackage similar to most other platforms. If you wish to install extra tools please refer to our metapackages page.
The Raspberry Pi images use Re4son’s kernel, which includes the drivers for external Wi-Fi cards, TFT displays, and the nexmon firmware for the built-in wireless card on the Raspberry Pi 3 and 4. You will not need to download it and install it, and doing so will likely be a downgrade over the current installed kernel.
Kali on Raspberry Pi 2 - User Instructions
If you’re unfamiliar with the details of downloading and validating a Kali Linux image, or for using that image to create a bootable device, it’s strongly recommended that you refer to the more detailed procedures described in the specific articles on those subjects.
To install a pre-built image of the standard build of Kali Linux on your Raspberry Pi 2, follow these instructions:
- Get a fast microSD card with at least 16GB capacity. Class 10 cards are highly recommended.
- Download and validate the
Kali RaspberryPi 2, 3, 4 and 400 (img.xz)image from the downloads area. The process for validating an image is described in more detail on Downloading Kali Linux.
- Use the dd utility to image this file to your microSD card (same process as making a Kali USB.
In our example, we assume the storage device is located at
/dev/sdb. Do not simply copy these value, change this to the correct drive path.
This process will wipe out your microSD card. If you choose the wrong storage device, you may wipe out your computers hard disk.
$ xzcat kali-linux-2023.2-raspberry-pi-armhf.img.xz | sudo dd of=/dev/sdb bs=4M status=progres
This process can take a while, depending on your PC, your microSD’s speed, and the size of the Kali Linux image.
Once the dd operation is complete, boot up the Raspberry Pi 2 with the microSD plugged in.
You should be able to log in to Kali.
Kali on Raspberry Pi 2 - Tips
If you are on the 5.10 kernel, you can use mt76 chipset USB Wi-Fi devices, but they require creating a configuration file in
/etc/modprobe.d with the following contents:
# Load mt76usb without using scatter-gather which doesn't work on the RPi2 or RPi3 USB chipset options mt76-usb disabe_usb_sg=1
Kali on Raspberry Pi 2 - Image Customization
If you want to customize the Kali Raspberry Pi 2 image, including changes to the packages being installed, changing the desktop environment, increasing or decreasing the image file size or generally being adventurous, check out the Kali-ARM Build-Scripts repository on GitLab, and follow the README.md file’s instructions. The script to use is
Updated on: 2023-May-30