Create SD card from img file

General

  • The disk images we are providing are compressed ZIP files. You have to extract the image file first using an unzip program. It will extract a file with the extension “.img”.

Windows

Linux

  • Insert the SD card.
  • Depending on your Linux distribution, you may need to unmount the file systems on the SD card. Consult the manual or check the specifics on how to do this with the developers of your Linux distribution.
  • Use the “dd” command:
    dd if=xxxx.img of=/dev/diskX (replace xxxx.img with the name of your image file and diskX with the correct disk)
  • Remove the SD card.

MacOS

  • Insert the SD card.
  • Find the SD card using diskutil
    diskutil list
  • Unmount SD card using diskutil
    diskutil unmountdisk diskX

    (replace X with the correct number you found in the last step)

  • Use dd to write the image to the SD card.
    Attention: Make sure you write to the correct device. Writing to the wrong device can destroy data on your computer!

    sudo dd if=xxxx.img of=/dev/diskX

    (replace xxxx.img with the name of your image file and diskX with the correct disk)
    Note that depending on the speed of your SD card, this can take a long time (with slow SD cards, even more than an hour).

  • Unmount SD card using diskutil
    diskutil unmountdisk diskX

    (replace X with the correct number you found in the last step)

  • Remove the SD card.