Last active
April 6, 2016 15:12
-
-
Save basiclines/a38deb36635be049811dd560a663709e to your computer and use it in GitHub Desktop.
Raspberry distros installer script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
diskutil list | |
# Grab your disk location, i'm using /disk2 | |
diskutil unmountDisk /dev/disk2 | |
sudo dd if=/dev/zero of=/dev/rdisk2 bs=1024 | |
sudo dd if=OpenELEC-RPi2.arm-6.0.3.img of=/dev/rdisk2 bs=4m | |
sync | |
diskutil unmountDisk /dev/disk2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment