How to Create Raspberry SD Card via Linux Command Line

http://n00blab.com/how-to-create-raspberry-pi-sd-card/

http://www.youtube.com/watch?feature=player_embedded&v=uq3-aydRMv0

This tutorial will walk you through how to create Raspberry Pi SD card via Linux command line (Ubuntu 12.04 LTS)

Instructions for creating the SD card on Windows or Mac are found here

Download desired image via torrent or direct download and place in your Downloads directory:

http://www.raspberrypi.org/downloads

 

Check the hash:

sha1sum ~/Downloads/2012-08-16-wheezy-raspbian.zip | grep 63d16fd28369b6e05bf97f2d1758d56df6ed0ba9

If the hash checks out, unzip:

unzip ~/Downloads/2012-08-16-wheezy-raspbian.zip

Insert your SD into your card reader and run:
(if unsure of your computer’s naming convention, run prior to inserting SD then again after to identify mounted card)

df -h

Unmount your card: (sdb1 was mine, yours may be named differently. If your card shows up more than once – ie. multiple partitions – be sure to unmount all of them!)

umount /dev/sdb1

Write the image to the card. Note that I have left off the trailing 1 (/dev/sda) as I want to write to the entire card:

dd bs=1M if=~/Downloads/2012-08-16-wheezy-raspbian.img of=/dev/sdb

To ensure write cache is empty and it is safe to unmount run:

sudo sync

DONE!

Stay tuned for a follow up video outlining what to do now that you have your SD ready to go!