Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Copy image to SD card
For OS X and Linux
- Download and Install Etcher from https://etcher.io
Open etcher and click Select Image to choose the mazi img file.
Choose SD Card as Drive.
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.
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
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
Download the Win32 application for flashing the SD card
- Select your device (SD card)
- Locate the downloaded disk image
- Click Write and wait for the write to be completed