Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I want to burn a *.img file of Wheezy OS to my 8GB SD Card from a Mac but can't figure out how.

Any help would be appreciated. :)

share|improve this question
    
is the OS you're using OSX?? –  ikku Dec 27 '12 at 17:33
    
Yes @ikku - it is. –  user4039 Dec 27 '12 at 17:39
    
Check out my answer here. The question is on backing up your SD card, but the process is identical, see the bit on restoring the image. Alternatively, this wiki may help. –  Alex Coplan Dec 28 '12 at 15:06

4 Answers 4

up vote 4 down vote accepted

There is a faq/howto available that discusses all the various OS-es. For the Mac it is (nearly) the same as under the various other types of Unix versions. The use of dd.

In short you type:

sudo dd if=path_of_your_image.img of=/dev/rdiskn bs=1m

N.B: the of=/rdev/diskn needs to be the SD card, if you do this wrong you might end up destroying your Mac system!!!! Be careful!

Be sure to use /dev/rdiskn instead of just /dev/diskn. This way you are not writing to a buffered device and it will complete much faster.

For a total step by step guide through this process please consult this explanation. There are 3 chapters for the Mac in this document.

The most easy way is described on the first chapter on Mac (Copying an image to the SD card in Mac OS X (Only with graphical interface)), it involves an application that does everything for you, to be complete I copy the link to this application here

share|improve this answer
    
Thanks, is there no easier way? :( –  user4039 Dec 27 '12 at 17:41
    
It's not that difficult, and the actual copying is only one command, the rest is to make sure you will be writing to the correct device. And the first chapter states: The RPi-sd card builder utility is a app which will walk you through the process of installing to SD card. That sounds like a nice application that with a couple if clicks does what you want... The link for this app is in the document. –  ikku Dec 27 '12 at 17:43
    
Can't get that to work. :( –  user4039 Dec 27 '12 at 17:51
    
Oh, and the application keeps crashing. –  user4039 Dec 27 '12 at 17:51
    
Then I guess you need to switch to option 2, Mostly GUI –  ikku Dec 27 '12 at 17:54

First, verify the path to your SD card. You can do this by running the following command from terminal:

diskutil list

The output shows a list of disks currently mounted on the system. Here's the relevant line from my output:

/dev/disk3
#:                       TYPE NAME                    SIZE       IDENTIFIER
0:     FDisk_partition_scheme                        *8.0 GB     disk3
1:                 DOS_FAT_32 RPISDCARD               8.0 GB     disk3s1

In this case I can verify /dev/disk3 is my SD card because the TYPE, NAME and SIZE values are correct.

If you have an existing partition on the disk you may need to unmount it, otherwise you'll get a "Resource busy" error message when you try to write the image.

diskutil unmount /dev/disk3s1

Now to write the image file to the disk. Note the 'r' added to rdisk3 which drastically improves write performance by telling dd to operate in raw disk mode:

sudo dd if=RetroPieImage_ver2.3.img of=/dev/rdisk3 bs=1m

Depending on the size of your SDcard this may take a while. You can press CTRL+T to see the current status of dd. As an example for my Samsung 8GB SD card the write speed was 12MB/s the command took 11mins to complete.

share|improve this answer
1  
+1 for ctrl-t. I didn't know about this. –  ubiyubix Oct 11 at 9:06

This app may be helpfull for you: http://alltheware.wordpress.com/2012/12/11/easiest-way-sd-card-setup/

Welcome ;)

share|improve this answer
    
Welcome to RPi.SE :) Could you briefly explain the content to avoid link rot? Thanks! –  Morgan Courbet Dec 28 '12 at 8:05
    
Basically is a frontend to burn an image to your SD for OSX. –  user4056 Jan 11 '13 at 10:49

Try this: ApplePi-Baker

It's free, writes IMG files to SD-Card, can prepare a NOOBS card and can make a backup to IMG of your SD-Card.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.