Archive

Archive for March 2nd, 2008

Create an ISO image (.iso) on Mac OS X

March 2nd, 2008

1. Insert the CD or DVD you would like to create an ISO image from

2. In a Terminal window execute the drutil status command in order to determine the device path to your CD/DVD drive. For example:
$ drutil status
Vendor Product Rev
OPTIARC DVD RW AD-5630A 1AHM

Type: DVD-RW Name: /dev/disk1
Sessions: 1 Tracks: 1
Write Speeds: 1x, 2x
Overwritable: 510:38:38 blocks: 2297888 / 4.71GB / 4.38GiB
Space Free: 00:00:00 blocks: 0 / 0.00MB / 0.00MiB
Space Used: 68:00:64 blocks: 306064 / 626.82MB / 597.78MiB
Writability: erasable, overwritable
Book Type: DVD-RW (v2)
Media ID: CMCW02

3. Assuming your Mac automatically mounts the disc and puts an icon on the desktop, you will need to unmount the disk before we proceed. To to this run the following command again the terminal window:
$ diskutil unmountDisk /dev/disk1
Unmount of all volumes on disk1 was successful

4. Now to create your ISO file simply use the following command substituting the value of your disk device path and the filename you want to use for your ISO file.:
$ dd if=/dev/disk1 of=file.iso bs=20485

phil Mac