Tuesday, December 25, 2012

Installing and running "Wheezy" on Raspberry Pi

Downloading the image file

Download the image file from http://www.raspberrypi.org/downloads or you can download using bittorrent. Either way you will get the file in zip format.

Writing Image to SD

Writing the image file to the SD card is fairly simple in Linux with a few simple commands. There is a Windows equivalent but decided to go use 'dd' instead.

Once you have downloaded the image file from the website or through bit-torrent, you will need to un-zip it. Issue the following command

> unzip 2012-10-28-wheezy-raspbian.zip

Then using 'dd' copy the image file over to your SD hard. You will need to alter the command depending on how your SD hard get loaded. There are several ways to determine the device loaded but I would just look for the last loaded device by looking at dmesg

> dmesg | tail 

Once you find your device, issue the following command (with your alterations of course for device name)

> dd if=2012-10-28-wheezy-raspbian.img of=/dev/sdb bs=4M

Note, remember to write to the entire device and not just a single partition (ie. don't use sdb1).

For sanity, run the following command to flush the IO buffers

> sync

Done, remove your media card and put the sucker into your raspberry pi. Hook up the necessary peripherals (ie. monitor, mouse, keyboard) and you are done.


No comments:

Post a Comment