Follow

Create an SD card from an image file

General

The easiest way to install and configure the software for the HiFiBerry card on Windows and Mac is the HiFiBerry installer. If you don't want to use it for some reasons, please go on with this guide.

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 how to do this with your developers of your Linux distribution
  • Use the “dd” command:
    dd if=xxxx.img of=/dev/diskX (replace xxxx.img by the name of your image file and diskX by 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 by 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 by the name of your image file and diskX by 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 by the correct number you found in the last step)

  • Remove the SD card
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments