Today I have finally received the raspberry pi and its components by mail and I am preparing for the first step: creating an image of the wheezy raspbian distribution to copy on the memory card.
- Download the wheezy package from the download site
- Compare the SHA-1 checksum from the download site with your downloaded file by executing this from command line, after entering the directory containing your downloaded file:n
n where file.zip is the name of your downloaded file. If the checksums are different you need to start from the beginning.
- Unzip the downloaded file by performingn
n the result is a file with name file.img
- Insert the SD memory card purchased in an available slot of yourn PC / laptop (laptop in my case)
- Check the file systems mounted by performing: df -h
- Figure out which mount point corresponds to your card, let’s say /dev/sdb1, and unmount it by
- Now you need to copy the image file to your card, using the linux dd command. In my case this is performed by
dd bs=4M if=2012-12-16-wheezy-raspbian.img of=/dev/sdb
Be careful of what you type above, and be sure of the output file system (/dev/sdb), since this operation is destructive of whatever found on that output file system path. This process might required to be run as super user (sudo) and does not give any diagnostic. Also remove the partition number at the end of the output device (/dev/sdb and not /dev/sdb1), so that the image affects the entire SD card and not only one partition of it. Be prepared to wait for a few minutes.
Before removing the card, from the command line, run sync, to make sure that everything in the write cash is dumped onto the card.
You can now remove the card. It is ready to be inserted in your Raspberry Pi
In the next step with will fire-up Pi