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.

Hello everyone, has one of you created a kali image and would you provide the image to me?

Edit: I have now built it myself. If anyone is interested in the images, I can make them available. I have 1x for emmc and 1x for sd card.

Hello, can you post the image for the emmc? I’ll be very thankful.

upd.: I managed to fix all the errors by slightly adding the script.

I flashed radxa but kali doesn’t work.

have you check serial output?

I’m Definitely in need of both images…

SD & emmc

Maybe then i can back track and see what I’m doing wrong :dizzy_face:‍:dizzy::dizzy_face:‍:dizzy::dizzy_face:‍:dizzy::joy:

I’ve followed all steps on Kali site as well as read me on gitlab
No progress…I’m sure I’m missing something simple.

Those images would be helpful

Afaik you need to use arm64 base system to build kali.

Kali, slim sdcard build.

Built on Debian 11 arm64 aws instance from official kali script. https://gitlab.com/kalilinux/build-scripts/kali-arm

Login is default of course: u:kali p:kali

But be aware, there is some package that breaks system. Dunno what package, but if you install default or headless metapackage, boot will fail.

kali-linux-firmware metapackage works.