Sunday, 2 June 2013

Install Kali Linux ARM on Raspberry Pi

Before we begin, let me give you a brief introduction on Raspberry Pi. Well, a Raspberry Pi is a low budget, small credit-card sized ARM board, that acts as a computer. This board is developed by Raspberry Pi Foundation, UK with the intention of promoting the teaching of basic computer science in schools. The processor at the heart of the Raspberry Pi system is a Broadcom BCM2835 system-on-chip (SoC) multimedia processor. This means that the vast majority of the system’s components, including its central and graphics processing units along with the audio and communications hardware, are built onto that single component hidden beneath the 256 MB memory chip at the centre of the board. It’s not just this SoC design that makes the BCM2835 different to the processor found in your desktop or laptop, however. It also uses a different instruction set architecture (ISA), known as ARM. The ARM-based BCM2835 is the secret of how the Raspberry Pi is able to operate on just the 5V 1A power supply provided by the onboard micro-USB port. It’s also the reason why you won’t find any heat-sinks on the device: the chip’s low power draw directly translates into very little waste heat, even during complicated processing tasks.
Figure(1). Sketch of a Raspberry Pi Board

    Figure(2). Actual view of a Raspberry Pi Board

Figure(3). Raspberry Pi Board in a box

Figure(4). Raspberry Pi Board to work as a computer

Components needed to make Raspberry Pi to a Computer are:

• Raspberry Pi board
• Micro USB lead (for power)
• USB power adapter (also for power)
• HDMI lead: Type A to Type A (to connect to your monitor or TV)
• HDMI display
• SD card: 2 GB to 64 GB (for storage); 8 GB minimum recommended
• SD card reader
• USB keyboard and mouse

Now, let's get started installing Kali Linux for Raspberry Pi.

1. Download Kali Linux for Raspberry Pi image.
2. Use dd utility to image this file to your SD card. Assumed that the storage device is located at /dev/sdb. Please note that this process will wipe out your SD card. If you choose the wrong storage device, you may wipe out your computers hard disk.

root@kali:~ dd if=kali-pi.img of=/dev/sdb bs=512k

This process can take a while depending on your USB storage device speed and image size. Once the dd operation is complete, boot up your Rasberry Pi with the SD card plugged in. You will be able to log in to Kali (root / toor) and startx.