From charlesreid1

This page contains a guide to installing an operating system on the Raspberry Pi.

Installing Raspbian Operating System

The kit came with an 8GB SD card with the NOOBS operating system (for beginners at raspberry pi) pre-installed. Nice touch, but I didn't want to use NOOBS, I wanted to use a Raspbery Pi version of Debian so that I can hack this thing up. I downloaded an image file from (it was a zip file, containing an img file).

Step 0: Plug the SD card in

You're going to be installing the operating system for the Raspberry Pi onto an SD card, so pick an SD card that you'll use, and plug it into your laptop.

Step 1: Find your SD card

I plugged my SD card into my Mac OS X (running 10.8), and ran this command to list all the devices:

$ diskutil list
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *250.1 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS Cronus                  249.2 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *7.9 GB     disk1
   1:                 DOS_FAT_32 NOOBS                   7.9 GB     disk1s1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     Apple_partition_scheme                        *16.7 MB    disk2
   1:        Apple_partition_map                         32.3 KB    disk2s1
   2:                  Apple_HFS Flash Player            16.7 MB    disk2s2

That means my sd card is at /dev/disk1.

Step 2: Unmount card

Now I unmount the SD card:

$ diskutil unmountDisk /dev/disk1
Unmount of all volumes on disk1 was successful

Step 3: Write image to SD card

For the last step, you use dd (disk formatter utility) to write that image to your SD card:

$ sudo dd bs=1m if=2014-06-20-wheezy-raspbian.img of=/dev/disk1
2825+0 records in
2825+0 records out
2962227200 bytes transferred in 1571.202055 secs (1885325 bytes/sec)

The above command took 27 minutes on my system.


Understanding What's on the SD Card

In case you're wondering what's on the SD card and how that works: Kali_Raspberry_Pi/Installing#Kali_Linux_SD_Card

Installing Kali Linux Operating System

You can see installations for installing Kali Linux on a Raspberry Pi over at Kali Raspberry Pi/Installing