The NanoPi2 is a quad core 1.9GHz, with 1GB of RAM. Kali Linux fits on an external microSD card.
Kali on NanoPi2 - Build-Script Instructions
Kali does not provide pre-built images for download, but you can still generate one by cloning the Kali-ARM Build-Scripts repository on GitLab, and follow the README.md file’s instructions. The script to use is
Once the build script finishes running, you will have an “img” file in the directory where you ran the script from. At that point, the instructions are the same as if you had downloaded a pre-built image.
The easiest way to generate these images is from within a pre-existing Kali Linux environment.
Kali on NanoPi2 - User Instructions
To install Kali on your NanoPi2, follow these instructions:
- Get a fast microSD card with at least 16GB capacity. Class 10 cards are highly recommended.
- 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-2021.2-nanopi2.img.xz | sudo dd of=/dev/sdb bs=4M status=progress
This process can take a while, depending on your PC, your microSD card speed, and the size of the Kali Linux image.
Once the dd operation is complete, boot up the NanoPi2 with the microSD card plugged in.
You should be able to log in to Kali.
Updated on: 2021-Jun-22