Hardware Reference
In-Depth Information
4. Calculate the checksum to ensure that the downloaded ile is not corrupt or hasn't
been tampered with. To do this, type the following:
sha1sum 2013-07-26-wheezy-raspbian.zip
Make sure that the result matches with the SHA-1 checksum given on the http://
raspberrypi.org/download page. Although it is unlikely that they will difer, if
they do, try downloading and unzipping again.
5. Insert an SD card. Make sure there's no data on it that you want to save, because it will
be completely overwritten.
6. Type dmesg and ind the device name that Linux uses to refer to the newly inserted card.
It will usually be named sdd , sde , sdf or something similar. Alternatively, it may be in
the form mmcblk0 . Use this name wherever you see sd X in the following steps.
7. If Linux has automounted the card, you need to unmount it irst by typing sudo
umount /dev/sd X .
8. Double-check that you have the correct device by typing sudo fdisk -l /dev/
sd X . Check that the size displayed matches the size of the card that you inserted.
9. When you are absolutely sure you are referring to the correct card, type the following
(replacing sd X with the name you found in step 6) to copy the image across to the
card. (his step could take about 15-30 minutes, so be patient.)
dd if=2013-07-26-wheezy-raspbian.img of=/dev/sd X
10. Type sudo sync before removing the card to ensure all the data is written to the card
and is not still being bufered.
Creating an SD Card with OS X
With OS X, it's easiest to create the SD card image from the command line.
Although the Macintosh normally uses drag and drop for many operations, there is a way to get
“under the hood” to perform unusual operations. Your gateway to doing this is an application
called Terminal. his is usually found in the Utilities folder, within the Applications folder. A quick
way to ind it is to hold down the Ô key and press the spacebar. his will open the Spotlight
search window. Type terminal and then press Enter to open the Terminal application.
To create an SD card, follow these steps:
1. Start a terminal.
2. Use the cd command to change to the directory containing the ile you downloaded. A
quick way to do this is to type cd followed by a space and then drag the folder contain-
ing the ile into the Terminal window. his will automatically ill in the rest of the com-
mand with the pathname of that folder. hen press Enter to perform the command.
Search WWH ::




Custom Search