Skip to content

Instantly share code, notes, and snippets.

@maxy
Last active August 29, 2015 14:14
Show Gist options
  • Save maxy/ba03f7cc9eaf28383c3a to your computer and use it in GitHub Desktop.
Save maxy/ba03f7cc9eaf28383c3a to your computer and use it in GitHub Desktop.
Installing RaspbianOS of Raspberry-Pi to SD card
## Confirmation of the SD card mount state
diskutil list
#/dev/disk0
#
# SSD INFORMATION --
#
#/dev/disk2
# #: TYPE NAME SIZE IDENTIFIER
# 0: FDisk_partition_scheme *31.7 GB disk2
# 1: Windows_FAT_32 NO NAME 31.7 GB disk2s1
## Unmount the SD card
diskutil unmountDisk /dev/disk2
# Unmount of all volumes on disk2 was successful
## Installing
sudo dd bs=1m if=~/Downloads/2015-01-31-raspbian.img of=/dev/disk2
Password: [Password of your account]
# 3125+0 records in
# 3125+0 records out
# 3276800000 bytes transferred in 1569.093963 secs (2088339 bytes/sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment