Skip to content

Instantly share code, notes, and snippets.

@xaman
Created February 1, 2018 11:50
Show Gist options
  • Save xaman/7fdda7eaab747a98ceed236f96644b11 to your computer and use it in GitHub Desktop.
Save xaman/7fdda7eaab747a98ceed236f96644b11 to your computer and use it in GitHub Desktop.
Format a MicroSD with raspbian
# List disks
diskutil list
# Unmount selected disk
diskutil unmountDisk /dev/diskX
# Copy the content of the system image in the device
sudo dd bs=1m if=raspbian.img of=/dev/rdiskX conv=sync
# Sync changes
sync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment