Sunday, May 12, 2013

Using dd on a Mac to copy an ISO file

I downloaded a Fedora ISO file and needed to copy it to a USB memory stick to install on another machine, but the Mac user interface is just enough different from Linux to be annoying:


Hermans-MacBook-Pro:Downloads herman$ sudo dd if=Fedora-18-i686-Live-LXDE.iso of=/dev/disk2
Password:
dd: /dev/disk2: Resource busy

Now what?  Some googling later...

Hermans-MacBook-Pro:Downloads herman$ sudo diskutil umountDisk /dev/disk2
Unmount of all volumes on disk2 was successful
Hermans-MacBook-Pro:Downloads herman$ sudo dd if=Fedora-18-i686-Live-LXDE.iso of=/dev/disk2

Even Data Definition is different and Ctrl-T will show the dd progress as records in/out.

No comments:

Post a Comment

On topic comments are welcome. Junk will be deleted.