header

Installing images to SD

This tutorial is for any image but im going to use raspbian wheezy for my example Heres the main code with minimal description. First open the terminal.

Enter code

df -h

This brings up the drives plugged into your mac. I know as you will know the size and name of your sd card eg i know mine is named ark and its an 8GB card. the card will normally show up with less space but close to what you think

Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk0s2 595Gi 39Gi 556Gi 7% 10189238 145851056 7% /
devfs 191Ki 191Ki 0Bi 100% 660 0 100% /dev
map -hosts 0Bi 0Bi 0Bi 100% 0 0 100% /net
map auto_home 0Bi 0Bi 0Bi 100% 0 0 100% /home
/dev/disk1s1 466Gi 67Gi 398Gi 15% 0 0 100% /Volumes/500GB
/dev/disk2s0s2 2.8Mi 2.8Mi 0Bi 100% 1451 0 100% /Volumes/Internet Everywhere

/dev/disk3s1 7.2Gi 2.3Mi 7.2Gi 1% 0 0 100% /Volumes/ARK



Now we see the card we want to install the image (wheezy) onto is disk3s1 to unmount the sd card enter

sudo diskutil unmount /dev/disk3s1

replace the 3 with the number of your sd card you will be asked for a password this is you mac user password enter it and your sd should disappear from your desktop if it doesn't check you've entered the correct drive name

Now im assuming that you've downloaded your image from the internet so the image will be in downloads you may neen to extract it if its compressed. if it isn't in your downloads move it there. Now enter

sudo dd bs=1m if=~/Downloads/2016-05-27-raspbian-jessie.img of=/dev/rdisk3

Notice the s1 is missing this is not an error its normal the terminal will pause this is a good sign . It will take about 45 minutes to install wheezy. Then when it is completed the drive will reappear on the desktop and the terminal will re-engage. If this doesnt happen within an hour with wheezy something may have went wrong. this works everytime for me ive used for arkos wheezy and a few other images. the only thing you have to change is the name of the image eg for newer versions of the image

2014-06-20-wheezy-raspbian.img

this may vary depending on the OS or the file name