Banana Pi

    The Banana Pi has a dual core 1GHz Cortex™-A7 processor with a Mali400MP2 GPU and 1GB DDR3 RAM. Kali Linux can run from an external microSD card.

    By default, the Kali Linux Banana Pi 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.

    Kali on Banana Pi - 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 Banana Pi, follow these instructions:

    1. Get a fast microSD card with at least 16GB capacity. Class 10 cards are highly recommended.
    2. Download and validate the Kali Banana Pi image from the downloads area. The process for validating an image is described in more detail on Downloading Kali Linux.
    3. 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-bananapi.img.xz | sudo dd of=/dev/sdb bs=4M status=progress
    

    This process can take a while, depending on your PC, your microSD card’s speed, and the size of the Kali Linux image.

    Once the dd operation is complete, boot up the Banana Pi with the microSD card plugged in.

    You should be able to log in to Kali.

    Kali on the Banana Pi - Tips

    The bootloader on the Banana Pi is u-boot, and in order to make changes to the kernel command line, the file to edit is /etc/default/u-boot and the option is U_BOOT_PARAMETERS. If you make any modifications to this file, you will want to then run u-boot-update.

    Kali on Banana Pi - Image Customization

    If you want to customize the Kali Banana Pi 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 banana-pi.sh.


    Updated on: 2021-Jun-01
    Author: steev