Preparing your SD Card for Kali Linux Installation

media_raspberry_pi

 

 

 

 

 

 

 

 

So you want to copy the Kali Linux image onto your SD card ready to use with a Raspberry Pi!

So here’s how to do it!

Download the Kali Linux image from http://www.offensive-security.com/kali-linux-vmware-arm-image-download/

  • Put the Kali IMG somewhere easy to find like the Desktop
  • Open a terminal
  • Type mount
  • Identify where the SD card is mounted using the df -h command

matt@ubuntu:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 15G 8.0K 15G 1% /media/21B2-9316

As you can see my SD card is mounted at /dev/sdb1
Use the dd utility to copy the Kali image  to your SD card. The primary purpose of the dd utility is to covert and copy.
Warning! This process will format  your SD card. Make sure you identify the right storage device as this will remove all data from the storage device…it could format you hard drive!!!

  • Type: dd if=kali-pi.img of=/dev/sdb1 bs=512k

The copy to the SD card took quite a while about 25 minutes…Ive used this process on windows using Win32DiskImager and it was much quicker!

Once the copy has completed, boot up your Rasberry Pi with the SD card plugged in, log into Kali using the following:
User: root

Password: toor

Start the desktop by issuing: startx

That is it, you are done!

IMPORTANT Please change your ssh host keys as soon as possible as ALL rpi images have the same keys. You should also change the root password to something more secure, especially if this machine will be publicly accessible!

Share and Enjoy:
  • Facebook
  • Google Bookmarks
  • Digg
  • email
  • LinkedIn
  • Live

Leave a Reply