Copying ISO file to USB drive in OS X?
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?
But I get the below. I have enough space in the 16GB USB drive for the 2GB ISO file. What am I doing wrong?
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?
From http://www.youtube.com/watch?v=fu2g_E2ZK8A:
You can also can try this. It works for me. This is a rather "raw" copy and will typically not work for a bootable USB, but will work for other cases.
Here is a transcription of the commands from the screen shot for your copy/paste pleasure.
diskutil list # shows disks
hdiutil convert -format UDRW -o destino.img origen.iso # convert to dmg
sudo dd if=destino.img.dmg of=/dev/rdisk1 bs=1m # copy to USB on rdisk1
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
(orbs=1M
with homebrew) - When finished
diskutil eject /dev/diskN
If you want your USB to be "bootable" when all is said and done (ex: windows install disk), you're going to either want to use the Boot Camp Assistant
(only check the "Create a Windows 7 or later version install disk" checkbox, then follow the prompts, it will create a FAT32 (i.e. bootable) USB version of your ISO file).
Some ISO's are created "special" to not need this, but not all are (ex: windows install disks). Details: https://superuser.com/q/1063220/39364
I.e. dd
is not always enough. Especially for windows install .iso's.
You can use an open source tool named UNetbootin.
Also you can see an step-by-step tutorial with images by Ubuntu in here.