Friday, October 26, 2012

Create an ISO image of a DVD on Mac OS X

It seems to be a bit more difficult to create ISO images on the recent Mac Mountain Lion. Though I never did it before, it seems that an option to create an ISO was a part of the Disk Utiltiy application. Now though you can only make a .dmg.

You can try to copy all the files from a DVD to a folder and use Disk Utility to create an ISO but you'll have problems with extended attributes if copying a Mac OS X Install disc.

This works ok.

1. Open Terminal.

2. Now find where the DVD is mounted.

Type :
drutil status
This will tell us where the drive is mounted. It will look something like:

John-Mac-mini:Desktop John$ drutil status Vendor   Product           Rev  HL-DT-ST DVDRW  GA32N      KC12
           Type: DVD-ROM              Name: /dev/disk1       Sessions: 1                  Tracks: 1    Overwritable:   00:00:00         blocks:        0 /   0.00MB /   0.00MiB     Space Free:   00:00:00         blocks:        0 /   0.00MB /   0.00MiB     Space Used:  843:15:63         blocks:  3794688 /   7.77GB /   7.24GiB    Writability:       Book Type: DVD-ROM (v1)

We can check using: mount

John-Mac-mini:Desktop John$ mount/dev/disk0s2 on / (hfs, local, journaled)devfs on /dev (devfs, local, nobrowse)map -hosts on /net (autofs, nosuid, automounted, nobrowse)map auto_home on /home (autofs, automounted, nobrowse)/dev/disk2s3 on /Volumes/My Book Time Machine (hfs, local, nodev, nosuid, journaled)/dev/disk1s3 on /Volumes/Mac OS X Install DVD (hfs, local, nodev, nosuid, read-only, noowners)

I notice that in my example mount gave:
and drutil gave:

You need to unmount the DVD drive by running: umount
This will need to be run as super user (sudo) and this will require your password.

sudo umount /dev/disk1

You now need to run the dd command:
sudo dd if=/dev/disk1s3 of="my file name.iso"

No comments:

Post a Comment