The following document describes our own method of creating a custom Kali Linux Raspberry Pi ARM image and is targeted at developers. If you would like to install a pre-made Kali image, check out our Install Kali on Raspberry Pi article.
You’ll need to have root privileges to do this procedure, or the ability to escalate your privileges with the command “sudo su”.
01. Create a Kali rootfs
Build a Kali rootfs as described in our Kali documentation, using an armel architecture. By the end of this process, you should have a populated rootfs directory in ~/arm-stuff/rootfs/kali-armel.
02. Create the Image File
Next, we create the physical image file, which will hold our Raspberry Pi rootfs and boot images:
If you’re not using ARM hardware as the development environment, you will need to set up an to build an ARM kernel and modules. Once that’s done, proceed with the following instructions: