Skip to content
The Fan Club edited this page Feb 25, 2015 · 42 revisions

There are several tools available to copy and install IMG files to SD Memory Cards, but I was looking for something that could easily backup and restore disk image files for my Raspberry Pi with Mac OS X.

I also wanted a program that could write compressed IMG files directly to the memory card without the need to decompress the image files first. dd the command line utility has been my default choice for years, but lacked a GUI that fit my requirements and so I decided to write my own - that is how dd Utility came to be.

Features

  • Write IMG files to memory cards and hard drives.
  • Backup and Restore IMG files to memory cards and hard drives.
  • Install and Restore compressed disk image files on the fly. Supported file formats: IMG, Zip, GZip and XZ.
  • Backup and compress disk image files on the fly in ZIP format to significantly reduce the file size of backups.
  • Ideal for flashing IMG files to SD Cards for use with Raspberry Pi, Arduino,  BeagleBoard and other ARM boards.
  • Mac Retina displays supported.

Requirements

- Currently only Mac OSX is supported, Linux support to follow soon. - OS X 10.6 or later

Technical

- Written in Bash and a bit of Applescript for dialogs - Source Code [Here](https://github.com/thefanclub/dd-utility/blob/master/source/ddutility-mac.sh)

Download

- [Mac OS X - DMG Installer](https://github.com/thefanclub/dd-utility/tree/master/DMG)

Installation

  • Download the dd Utility DMG file.
  • Double click on the DMG file to open and drag the dd Utility icon to the Applications folder as shown below.  
  • Select dd Utility from your Applications folder to start.
![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00000.png)

Restore or write IMG files to memory card or hard drive

  • Start dd Utility from your Applications Folder.
  • Select Restore
![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00001.png)
  • Select the IMG file you would like to restore/write to your memory card or disk. Supported file formats include .img, .zip, .gz and .xz
![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00002.png)
  • Make sure your memory card is inserted in your card reader and select it from the next screen. No need to format the card.
![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00007.png)
  • Confirm the settings and click Start to begin the process of writing the image file to the memory card.
  • NOTE: All data on the memory card will be overwritten and replaced by the image file data.
![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00003.png)
  • You will be asked to enter your password to start the process. You will need administrator rights to write the image file to the memory card.
  • dd Utility uses OS X Keychain authentication and does not have access to your password once entered. 
![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00004.png)
  • Once the process has started, it can take minutes to hours depending on the size of the image files, the speed of the memory card and compression used.
  • Be patient and wait for the process to complete. 
  • The Gear icon in the taskbar will indicate that the process is busy working. 
  • The progress will stay at 0% until the process in complete. This is due to a bug that is still to be resolved.

 

![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00008.png)
  • If all went well you should see:
![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00005.png)

Backup Memory Card to IMG file

  • Start dd Utility from your Applications Folder.
  • Select Backup
![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00001.png)
  • Make sure your memory card is inserted in your card reader and select it from the next screen. No need to format the card.
![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00007.png)
  • Next select the Backup folder location.
![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00009.png)
  • Enter the filename of you backup. You do not need to specify a path or extention for the file.
![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00010.png)
  • You then have the option to select to compress the backup on the fly. This option will take a bit longer to complete, but the file size will be greatly reduced.
![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00011.png)
  • Next confirm the backup settings and click Start.
![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00012.png)
  • You will be asked to enter your password to start the process. You will need administrator rights to write the image file to the memory card.
  • dd Utility uses OS X Keychain authentication and does not have access to your password once entered. 
![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00004.png)
  • Once the process has started, it can take minutes to hours depending on the size of the image files, the speed of the memory card and compression used.
  • Be patient and wait for the process to complete. 
  • The Gear icon in the taskbar will indicate that the process is busy working. 
  • The progress will stay at 0% until the process in complete. This is due to a bug that is still to be resolved.

 

![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00008.png)

 

  • If all went well you should see:

 

![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00016.png) ![](https://github.com/thefanclub/dd-utility/blob/master/images/ddUtility-00013.png)
Clone this wiki locally