Copy image to SD card

James Stevens edited this page Jan 10, 2019 · 4 revisions

For OS X and Linux

  1. Download and Install Etcher from

  1. Open etcher and click Select Image to choose the mazi img file.

  2. Choose SD Card as Drive.

  3. Click Flash!

When the process is finished, eject and insert the SD card into the Raspberry Pi and power up.

For Linux - commandline

Please note that the use of the dd tool can overwrite any partition of your machine. If you specify the wrong device in the instructions below, you could delete your primary Linux partition. Please be careful.


df -h

To see what devices are currently mounted.

2.Insert the SD card and run df -h again. The new device that has appeared is your SD card. The left column gives the device name of your SD card. It will be listed as something like /dev/mmcblk0p1 or /dev/sdd1. The last part (p1 or 1 respectively) is the partition number but you want to write to the whole SD card, not just one partition. You therefore need to remove that part from the name, getting, for example, /dev/mmcblk0 or /dev/sdd as the device name for the whole SD card.

3.Now that you've noted what the device name is, you need to unmount it so that files can't be read or written to the SD card while you are copying over the SD image


umount /dev/sdd1

Replacing sdd1 with whatever your SD card's device name is (including the partition number).

5.In the terminal, write the image to the card with the command below, making sure you replace the input file if= argument with the path to your .img file, and the /dev/sdd in the output file of= argument with the right device name. This is very important, as you will lose all data on the hard drive if you provide the wrong device name. Make sure the device name is the name of the whole SD card as described above, not just a partition of it. For example, sdd, not sdds1 or sddp1, and mmcblk0, not mmcblk0p1

sudo dd bs=4M if=2019-01-10-raspbian-jessie.img of=/dev/sdd status=progress

For Windows

Download the Win32 application for flashing the SD card

  1. Select your device (SD card)

  1. Locate the downloaded disk image

  1. Click Write and wait for the write to be completed

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.