I have attempted to install Kali Linux on my new RPi 3 eight times, following different procedures, but in the end I always need to perform the upgrade and it always results in problems booting the Pi afterwards, causing there to be no inputs on the login screen and a freeze after a few moments.
The hardware involved:
- Samsung EVO 32 gb class 10 micro SD - I've also used a Sandisk Ultra 32 micro SD
- Raspberry Pi 3
- Raspberry Pi 7'' Touchscreen
- Canakit supplied power supply
- Anker Powercore 20100 5V 4.8a power bank (if I had to move to be in front of my computer to read instructions)
This is the procedure I go through every time:
0) If I'm redoing this procedure, I use SD Formatter, Full Erase, no format size adjustment.
1) Using WinDisk32Imager, I use the kali-2.1.2-rpi2 image that is provided from Offensive Security and burn the image onto the micro SD.
2) Login and change the passwd.
3) nano /etc/network/interfaces and add:
4) This is where I have deviated to try several things to get around having to do the upgrade, as that seems to be problematic
face wlan0 inet dhcp
For clarity, I did use gparted before the upgrade
apt-get install gparted
5) If I skip the upgrade I do:
apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
Looking at the sources.list, everything checks out, except that non-free and contrib have their places switched in the documentation from Kali Linux's website:
apt-get install kali-linux-full
I have not tried older versions, but I thought that this release might be more RPi 3 friendly.
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
I have also not tried burning the micro SD image using the dd command in a Linux distro via Virtualbox, but I tried it and had an error getting the Virtualbox to work with the SD card reader.
To be clear, this is the first time I've worked with any kind of Linux and, while having to do this eight times and failing has taught me a little bit, I thought I might source this out to the community because this is getting frustrating and I'd like to start learning about security soon.