Installation steps:
http://docs.kali.org/kali-on-arm/install-kali-linux-arm-raspberry-pi
ARM download site:
https://www.offensive-security.com/kali-linux-arm-images/
If dd
ing from OSX do the following for speed:
$ dd bs=1m if=kali-2.1.2-rpi2.img of=/dev/rdisk2
7000+0 records in
7000+0 records out
7340032000 bytes transferred in 514.267776 secs (14272782 bytes/sec) # fast!
I had a 32GB SD card, this image transform it to a 7GB memory. To fix to the following (inspired by this:
$ cd /boot
$ wget https://raw.githubusercontent.com/lgierth/pimesh/master/files/raspi-expand-rootfs.sh
# Check the partitions
# replace $PART_START with 125001 if fdisk -l shows:
...
/dev/mmcblk0p2 125001 60367871 60242871 28.7G 83 Linux
...
$ chmod -x raspi-expand-rootfs.sh
$ sh raspi-expand-rootfs.sh
$ reboot
After successful reboot, run:
$ resize2fs /dev/mmcblk0p2
Thank you !