Skip to content

Instantly share code, notes, and snippets.

@nataren
Last active May 26, 2016 04:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nataren/619cdc748ed9b1ed8365f8edd52b3c5f to your computer and use it in GitHub Desktop.
Save nataren/619cdc748ed9b1ed8365f8edd52b3c5f to your computer and use it in GitHub Desktop.
Writing an image to the SD card
===============================
You can follow the instructions from https://www.raspberrypi.org/documentation/installation/installing-images/
making sure you use koc-raspbian-2016.img as the file you copy over.
OSX
===
sudo diskutil list
/dev/diskX (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *15.9 GB diskX
1: Windows_FAT_32 NO NAME 15.9 GB diskXsY
sudo diskutil unmountDisk /dev/diskX
sudo dd if=koc-raspbian-2016.img of=/dev/rdiskX bs=4m
change the X to the correct microSD disk location
Linux
=====
dd bs=4M if=koc-raspbian-2016.img of=/dev/sdX
sync
change the X to the correct device where your microSD card is located
Windows
=======
Follow the instructions from https://www.raspberrypi.org/documentation/installation/installing-images/windows.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment