Copying Raspberian image to SD Card on the Mac

Open Terminal

diskutil list

Identify the disk (not partition) of your SD card e.g. disk1 (not disk1s1):

diskutil unmountDisk /dev/<disk# from diskutil>

e.g. diskutil unmountDisk /dev/disk1

its easiest to change into the folder containing the image first (use cd <folder name>), and rename the image file to something simple (I always call mine raspberian.img)

cd Downloads

sudo dd bs=1m if=raspbian.img of=/dev/DISK

e.g. sudo dd bs=1m if=2014-01-07-wheezy-raspbian.img of=/dev/disk1

And then wait! It looks like nothing is happening, but something is! It is writing the image to the SD card. Depending on the speed of the card this can take several minutes.

One Reply to “Copying Raspberian image to SD Card on the Mac”

  1. If you use the raw device (/dev/rdiskN) it is about 15 times faster on the mac. I can write a Raspbian image in about 90 seconds. USB card reader also makes a difference – the Anker USB 3 is very good even if you use it on a USB 2 port. for example:

    dd if=2014-06-20-wheezy-raspbian.img of=/dev/rdisk2 bs=256k

    I use bs=256k because this is usually the fastest size for sequential writes on the cards I have tested.

Leave a Reply