Install Raspbian from OS X

2012.09.19

Download image from raspberrypi.org

Plug in SD card

Identify SD card
df -h

Note: /dev/disk1s1 is the disk on my MacBook Pro. You need to review and change the disk info as necessary.

Unmount
sudo diskutil unmount /dev/disk1s1

Apply image to SD card
sudo dd bs=1m if=2012-09-18-wheezy-raspbian.img of=/dev/rdisk1

3 comments

  1. These instructions are DANGEROUS! By default, my OSX installation is on /dev/disk1s1, and running this command would be catastrophic – I can’t be the only one, so I suggest you make it explicitly clear that ‘/dev/disk1s1′ and ‘/dev/rdisk1′ should be changed to whatever the SD card is mounted as.

    macuser, 2013.01.08
  2. Brilliant. Dangerous, true, but very simple – and it works.
    Thanks.

    Ralph, 2013.02.24
  3. Following the steps exactly could cause issues. This blog is as much notes to myself as anything. I appreciate your feedback.

    tavshed, 2013.08.22

Leave a comment