Kali linux on zero

hi all:
where can get the new kaili liunx img? i reach the Karmbian in github,but the latest in 2020.08.

1 Like
2 Likes

great to hear that Kali is coming to the RxZero!

can’t wait to be doing some hackbuilds with some usb cards, battery, and the RxZero together in a 3d pritned case for a road warrior mobile-ops scenario.

Or you can build your own

Kali Linux ARM build-script for Radxa Zero (64 bit)

radxa-zero-emmc.sh · radxa-zero · Kali Linux / Build-Scripts / kali-arm · GitLab

1 Like

thank u ,thats very useful for me

I try to build my own Kali image for Radxa Zero eMMC version and i get issue in build process

I’m tryed to following basic steps from this documentation

mainly this section:

Non-Kali Debian-Based Environment

Setting Up The build-script Non-Kali Debian-Based System

of course, i know, that there are steps primarly for live-build …
but for command:
git clone https://gitlab.com/kalilinux/build-scripts/live-build-config.git

i executed these commands:
git clone https://gitlab.com/kalilinux/build-scripts/kali-arm.git
cd ./kali-arm
git reset --hard ef8ba105ce3a5101374168685578c36fb20db170
./common.d/build_deps.sh
./radxa-zero-emmc.sh

… and the result is

I: Extracting tar...
I: Extracting tzdata...
I: Extracting util-linux...
I: Extracting zlib1g...
  ✅ Load common file: eatmydata 
 enabling eatmydata ... 
 systemd-nspawn dpkg-divert --divert /usr/bin/dpkg-eatmydata --rename --add /usr/bin/dpkg 
Adding 'local diversion of /usr/bin/dpkg to /usr/bin/dpkg-eatmydata'
 systemd-nspawn eatmydata /debootstrap/debootstrap --second-stage 
/debootstrap/debootstrap: 21: .: cannot open /usr/share/debootstrap/functions: No such file
root@debian:/usr/local/kali-arm# 
root@debian:/usr/local/kali-arm# ls -la /usr/share/debootstrap/
total 68
drwxr-xr-x   3 root root  4096 Jan 29 09:24 .
drwxr-xr-x 212 root root 12288 Jan 29 10:32 ..
-rwxr-xr-x   1 root root 46898 Jan  9  2019 functions
drwxr-xr-x   2 root root  4096 Jan 29 09:52 scripts
root@debian:/usr/local/kali-arm# 

Any idea, what happened ?

I wish I could help - my build goes a little farther but then I get this:


Any compiling experts who have any advice?

Thanks!

it says there: package arch does not match host arch. I don’t know how Kali builds their system, but for Debian you can use qemu-user-static to chroot as arm64 system. See example here:
https://wiki.debian.org/RaspberryPi/qemu-user-static#Mounting_the_image

Or just install Debian on Zero and build on Zero.