Skip to content

Instantly share code, notes, and snippets.

@rdmarsh
Created July 22, 2016 07:52
Show Gist options
  • Save rdmarsh/39fbb1a880ce1b35a955a93fe9d031fd to your computer and use it in GitHub Desktop.
Save rdmarsh/39fbb1a880ce1b35a955a93fe9d031fd to your computer and use it in GitHub Desktop.
dm - flash pi images from mac

Pi images on mac

On mac, dd needs to be a lowercase 'm'.

prepare disks

diskutil list
sudo diskutil unmount /dev/disk3s1

raspbian

sudo dd bs=4m if=/Volumes/SD\ Card/pi\ images/raspbian/2016-02-09-raspbian-jessie.img of=/dev/rdisk3
sudo dd bs=4m if=/Volumes/SD\ Card/pi\ images/raspbian/2016-02-09-raspbian-jessie-lite.img of=/dev/rdisk3
sudo dd bs=4m if=/Volumes/SD\ Card/pi\ images/raspbian/2016-05-10-raspbian-jessie-lite.img of=/dev/rdisk3

sudo dd bs=4m if=/Volumes/SD\ Card/pi\ images/raspbian/2016-05-27-raspbian-jessie-lite.img of=/dev/rdisk3

libreelec

sudo dd bs=4m if=/Volumes/SD\ Card/pi\ images/libreelec/LibreELEC-RPi2.arm-7.0.1.img of=/dev/rdisk3

motion

sudo dd bs=4m if=/Volumes/SD\ Card/pi\ images/motioneyeos/motioneyeos-raspberrypi2-20160705.img of=/dev/rdisk3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment