La Vita è Bella

Thursday, April 19, 2007

Note: make ISO image of your disks on Mac OS X

If you prefer DMG or CDR format, then you can just use Disk Utilities to make image of your disks. But if you prefer ISO format, then this is the way.

  1. Insert your disk into your driver, of course.
  2. Unmount it but didn't eject it. To do so, you need to type this command in your Terminal: "sudo umount /dev/disk1". "disk1" may vary depends on your other drivers.
  3. Use dd to create the image: "dd if=/dev/disk1 of=/path/to/foo.iso". Again, "disk1" may vary.
  4. When it's done, you've got the ISO image file, and you may eject the disk now. But as a bug in Finder, you can't eject a volume which you unmounted in Terminal in normal ways. Instead, you need to type this command in Terminal to eject it: "sudo diskutil eject /dev/disk1"

The Finder bug is really annoying, even a logout can't eject the disk, you must reboot your machine. But fortunately I've found the workaround on macosxhints.



tags: , , , ,

01:24:59 by fishy - mac - Permanent Link

Revision: 1.0/1.0, last modified on 2007-04-18 @ 02:25.

Karma: 15 (56.64% out of 113 were positive) [+/-]

You can subscribe to RSS 2.0 feed for comments and trackbacks

Trackbacks:
There are currently no trackbacks for this item.
Use this TrackBack url to ping this item (right-click, copy link target). If your blog does not support Trackbacks you can manually add your trackback by using this form.

madmac

madmac wrote:

If you aren't sure what the name of your cd drive is in unix, use the 'mount' command to list all the mounts you currently have. It should be obvious what the path to the device is after doing that.

Tuesday, May 06, 2008 13:15:46

madmac

madmac wrote:

I disagree that there is a bug in the finder. When you go under the hood of a Macintosh, you should always clean up things the same way you 'hacked' them in the first place. Try to mount the CD Rom the same way the Mac would do it:

'diskutil mount /path/to/the/device'

After that, do what you will.

Tuesday, May 06, 2008 13:23:57

honeymoons

honeymoons wrote:

thanks for the wordaround

Saturday, October 09, 2010 03:16:27

Add Comment

 

May the Force be with you. RAmen