Last active
August 29, 2015 14:15
-
-
Save FunTimeCoding/046a4b3766c3d3974f72 to your computer and use it in GitHub Desktop.
Copy Raspbian on a SD card.
This file contains hidden or 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
diskutil unmountDisk /dev/disk2 | |
wget http://downloads.raspberrypi.org/raspbian_latest -O raspbian.img.zip | |
unzip raspbian.img.zip -d raspbian.img | |
sudo diskutil partitionDisk /dev/disk2 1 MBR "Free Space" "%noformat%" 100% | |
sudo dd bs=1m if=raspbian.img of=/dev/rdisk2 | |
sudo diskutil eject /dev/rdisk2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment