Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have tried to copy an ISO file to a USB drive. I am unable to do it with Disk Utility. How can I copy the ISO file to a USB drive?

enter image description here

But I get the below. I have enough space in the 16GB USB drive for the 2GB ISO file. What am I doing wrong?

enter image description here

Debugging

Bmike commented "You can isolate the scanning of the image from the restoring to see if the problem lies with the image or the copy. Images -> Scan Image for Restore... from the menu of Disk Utility." but the procedure fires the error below. What does it mean?

enter image description here

share|improve this question
    
You can isolate the scanning of the image from the restoring to see if the problem lies with the image or the copy. Images -> Scan Image for Restore... from the menu of Disk Utility. –  bmike Nov 29 '12 at 18:11
    
The reason it won't work this way is because OS X does not natively read the file format of that particular iso, which is likely ntfs. The reason dd works is because it is a low-level block copy utility, thus the file system is irrelevant. –  chillin May 11 at 18:00

5 Answers 5

up vote 3 down vote accepted

From http://www.youtube.com/watch?v=fu2g_E2ZK8A:

enter image description here

You can also can try this. It works for me.

share|improve this answer
    
...gracias +1 and bs=1M to speed up the transfer for larger files NB comments. –  hhh Dec 2 '12 at 0:06
6  
Whilst your answer may theoretically answer the question, it would be preferable to include the essential parts of the article in an answer below, and provide the link for reference –  Pfitz Dec 2 '12 at 8:07
    
@Pfitz point 2:28 should have all essential info, created a screenshot of the point to my answer but perhaps useful to add here also. –  hhh Dec 10 '12 at 2:13

This thread here outlines a graphical way of turning a USB drive into a boot disk. The user jbdjunk mentions the proceduce below, copy-pasted from the earlier site.

  1. Open Disk Utility
  2. Plug in USB
  3. Format USB to Mac Extended (Journaled)
  4. Create Partition on USB [GUID for Intel chips, APM for PPC]
  5. Unmount created Partition
  6. Drag and Drop disk image (dmg or iso) into Disk Utility
  7. Open disk image (double click or button in DU)
  8. Select opened disk image on left menu
  9. Click over to Restore
  10. Drag and drop selected image into source field
  11. Drag and drop (unmounted) USB partition into destination
  12. OK (may have to type in admin passwords and such)
  13. Wait
  14. Enjoy!
share|improve this answer

You can find the Debian-style-/dev/sdb location after $ sudo port install watch and then getting the address from the kernel ring buffer with $ sudo watch --interval=1 'dmesg|tail' so

enter image description here

now you know the address to be something like /Volumes/disk1s1 and for the mount-point like /Volumes/Untitled 1 but Apple requires some syntactic sugar in $ sudo umount /Volumes/UNTITLED\ 1/ umount(/Volumes/UNTITLED 1): Resource busy -- try 'diskutil unmount' but it won't stop us! So everything as one-liners below, enjoy!

$ sudo watch --interval=1 'dmesg|tail'
$ sudo diskutil umount /Volumes/UNTITLED\ 1/
Volume UNTITLED on disk1s1 unmounted
$ sudo dd if=en_windows_8_x86_dvd_915417.iso of=/dev/disk1s1 bs=1m 

This so far is very close to working with distros such as Ubuntu here. Now we make only a small difference to this procedure to get it working with Apple computers, namely converting the ISO into special format usually labelled with DMG or just IMG.

Apple way

The only difference to Apple is that you need to make the ISO file into special DMG file and upload that. An answer provided a video that solved the issue but this screenshot should contain all essential.

enter image description here

share|improve this answer
    
...so here I did not even try to solve the original GUI problem (there may be so many reasons for malfunctioning!), I chose the Unix -way of doing it. The error probably had something to do with some GUI thing that I cannot yet understand -- could someone help with the original err? Why did it not work like the above? –  hhh Nov 29 '12 at 22:59
    
...it is getting too long time to burn the ISO: A) it may be that I have poor USB stick (slow writing time) but it may be that there is clearly something broken in the system -- if this method and the GUI method do not work, it is probably not a good sign or? –  hhh Nov 29 '12 at 23:18
2  
The command can be improved, try using the raw block device and setting a decent block size: sudo dd if=en_windows_8_x86_dvd_915417.iso of=/dev/rdisk1s1 bs=1m –  stuffe Nov 29 '12 at 23:26
1  
You can also convert the image file from an ISO into an apple image DMG format, then do it from the GUI. It still needs a trip to the terminal to do the convert tho, as I don't think you can do this in diskutil : StuffeMac:~ stuffe$ hdiutil convert -format UDRW -o ./runtimelivecd.img ./runtimelivecd.iso –  stuffe Nov 29 '12 at 23:30
1  
The default block size is 512bytes, this results in many thousands more read/write operations than is required. Using larger values means it can get it's teeth stuck into it more, for want of a better analogy, you can go way higher if the device merits it (a large hard disk for example) but 1Mb is generally OK for a USB stick which isn't all that fast. Read this for some background forums.freebsd.org/showthread.php?t=11585 –  stuffe Nov 29 '12 at 23:47

Quoting from the ubuntu article linked earlier:

I think the key is to use the drive (/dev/sdb), not the partition (/dev/sdb1), in the of= option:

sudo dd if=dban.iso of=/dev/sdb bs=1m

share|improve this answer
1  
ls: /dev/sdb: No such file or directory, hmm. –  patrix Mar 1 '13 at 21:38
    
It is ridiculously stupid and dangerous to do a 'sudo dd' to an unknown device... –  CousinCocaine Oct 30 '13 at 13:40

IMHO the easiest way is in terminal:

  • First run diskutil list
  • then insert your usb stick
  • and run diskutil list again to see the disk node (e.g. /dev/disk2).
  • Now run diskutil unmountDisk /dev/diskN
  • and do sudo dd if=/path-to.iso of=/dev/rdiskN bs=1m
  • When finished diskutil eject /dev/diskN
share|improve this answer
    
Using of=/dev/rdiskN (with an "r" for "raw") instead of of=/dev/diskN is much faster. I edited the answer. –  Jona Christopher Sahnwaldt May 11 at 16:59

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.