It has taken me a long time to get around to finally setting up the Raspberty Pi's I received over Christmas.
Supprisingly it was very simple to setup the Pi, once over coming my only real issue. I had some old 4GB SD cards lying around, which I wanted to use. However, it would appear that the oficial Raspbian download I was working with needed an 8Gb card to install. At this point I sarted looking for an alternative and found minibian, a cutdown version of the Raspbian distribution without the GUI components.
Working from a debian laptop the process started off with downloading the image:
Once the download was completed you want to run a checksum to make sure that noone has tampered with the file, either MD5 or SHA-1:
Now convinced that we have the right files, we want to unzip the ISO image.
tar zxf 2015-11-12-jessie-minibian.tar.gz
After inserting the SD card into the laptop it may get mounted automatically. You can see this when you run the df command. It will probably be mounted to either /dev/mmcblk0p2 or /dev/sdb1. Make sure that the card is unmounted, and then well copy the image to the SD card:
dd bs=4M if=~/2015-11-12-jessie-minibian.img of=/dev/mmcblk0
Once completed we are now ready to eject the SD card and insert it into the Raspberry Pi.