Kali Linux for Pinebook Pro
#1
Build script for Kali Linux for the Pinebook Pro is now available.
Many thanks to Steev for the hard work!

Kali Linux Build Script

Image download link
You can find me on IRC, Discord and Twitter


  Reply
#2
nice!
  Reply
#3
I've built an image using the Kali Arm build-scripts for Pinebook-pro, and burned the resulting .img.xz file to an SD card using Etcher, but it doesn't seem to actually boot on my PBP. Has anyone successfully got this build process to fruition, and if so, is there a how-to post build? Unclear what I'm missing on the resulting .img.xz to running on PBP steps…
  Reply
#4
My PBP should arrive this afternoon, I'll try to build something tonight ;-)
  Reply
#5
stuck on "git clone git://gitlab.com/kalilinux/packages/gcc-arm-eabi-linaro-4-6-2.git", it won't clone
  Reply
#6
I am waiting for someone to post an image that can be flashed to an SD. My attempts at making a build environment on the PBP has failed so far on the mrfixit image.
Power Distribution Tech and AV by trade, but I have been using Linux since around 2002.  I like the raspberry pi and pinebook pro, SBCs and the possibilities they open.
  Reply
#7
Might have some time later today to try again Smile

For now it wants (shouldn't need) cross architecture when I run pinebook-pro.sh. Have the same on PBP as in a ubuntu virtual machine on another laptop
  Reply
#8
(01-22-2020, 02:36 AM)Tazdevl Wrote: Might have some time later today to try again Smile

For now it wants (shouldn't need) cross architecture when I run pinebook-pro.sh. Have the same on PBP as in a ubuntu virtual machine on another laptop

Its looking like the script will need to be edited for compilation in arm64.  I broke my system trying katoon for installing Kali. 

 The script does use the Manjaro kernel and uboot files, I'm going to try to build a patched kernel and use a nethunter chroot for tools.  

I have so far trimmed the code not related to the kernel build in the pinebook-pro build script.

Running my first build test now.
Power Distribution Tech and AV by trade, but I have been using Linux since around 2002.  I like the raspberry pi and pinebook pro, SBCs and the possibilities they open.
  Reply
#9
(01-22-2020, 09:14 AM)binholz Wrote:
(01-22-2020, 02:36 AM)Tazdevl Wrote: Might have some time later today to try again Smile

For now it wants (shouldn't need) cross architecture when I run pinebook-pro.sh. Have the same on PBP as in a ubuntu virtual machine on another laptop

Its looking like the script will need to be edited for compilation in arm64.  I broke my system trying katoon for installing Kali. 

 The script does use the Manjaro kernel and uboot files, I'm going to try to build a patched kernel and use a nethunter chroot for tools.  

I have so far trimmed the code not related to the kernel build in the pinebook-pro build script.

Running my first build test now.

it defiantly broke something in FXCE in my system, no to bothered as I intend to replace the os
  Reply
#10
Well, I can build no problem. My issue is that the resulting image doesn't seen to boot at all on my Pinebook Pro. I just get a black/blank screen when I attempt to boot an SD card from the resulting image file. For completeness though, below is my build process…

My build process for Kali-arm:

1. Install Oracle Virtualbox on my home iMac; https://www.virtualbox.org

2. Download Kali VM for Virtualbox (from: https://www.offensive-security.com/kali-...-download/)
   2a. Configure VM in Virtualbox; I gave it 4 cores and 16GB of RAM.

3. Boot KaliVM and log in as root/toor.
  3a. Do an initial update of the entire system; apt-get -y update && apt-get -y disc-upgrade && apt-get -y auto remove && apt-get -y auto clean
  3b. Restart VM; reboot

4. Clone and follow README.md from Kali-arm git repo; https://gitlab.com/kalilinux/build-scripts/kali-arm
Code:
mkdir ~/arm-stuff
cd ~/arm-stuff
git clone https://gitlab.com/kalilinux/build-scripts/kali-arm
cd ~/arm-stuff/kali-arm
./build-deps.sh
./pinebook-pro.sh 2020.1
   4a. build takes approx 1hr in the VM w/ the resources I gave it. Resulting image file is named kali-linux-2020.1-pinebook-pro.img.xz
   4b. Transfer image file, kali-linux-2020.1-pinebook-pro.img.xz, to my host system via scp; scp ./kali-linux-2020.1-pinebook-pro.img.xz shmoo@10.0.0.1:.

5. Burn kali-linux-2020.1-pinebook-pro.img.xz to a 128GB SD card using Balena Etcher on my host iMac; https://www.balena.io/etcher/

6. When complete, attempt to boot Pinebook-Pro from SD card… Results in a BLACK/BLANK SCREEN.

Is anyone else getting different behavior or a working, bootable image? I feel like I'm insane here. /crazy pills.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  An unofficial Debian Installer for Pinebook Pro danielt 425 151,186 46 minutes ago
Last Post: moonwalkers
  OpenMandriva to release ARM builds for PineBook Pro and Pi ludix 8 744 2 hours ago
Last Post: wdt
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 62 31,275 02-14-2021, 12:25 PM
Last Post: pmjohann
  Kali Linux password fail Wawe 4 246 02-09-2021, 01:38 PM
Last Post: barray
  Pinebook Pro wifi not working seyo-iv 1 184 02-01-2021, 11:00 AM
Last Post: seyo-iv
  slarm64 (unofficial slackware) Pinebook Pro RK3399 (aarch64) mara 25 3,518 01-30-2021, 11:03 AM
Last Post: mara
  FLOSS pinebook pro linux set-up misha64 3 1,093 01-14-2021, 04:05 PM
Last Post: kuleszdl
  My Debian journey on the Pinebook Pro schwarzwieweiss 32 3,810 01-07-2021, 09:35 AM
Last Post: schwarzwieweiss
  Armbian for the Pinebook Pro [WIP] Luke 41 14,066 01-06-2021, 06:14 PM
Last Post: Idaho
  Gentoo on Pinebook Pro RELEASE jannik2099 48 28,357 01-03-2021, 06:21 AM
Last Post: wdt

Forum Jump:


Users browsing this thread: 2 Guest(s)