Sunday, November 16, 2008

Creating an ISO image from DVD on macbook

When copying a DVD on my macbook I was sure there must be some way to do it without buying software or having to download lots of new burning applications. Here are the simple steps needed to do it:

# insert DVD and lookup the device your DVD is mounted on,
# (partial output shown here, look for the Name field).
#
$ drutil status
 Vendor   Product           Rev 
 MATSHITA DVD-R   UJ-857D   GAND

           Type: DVD-ROM              Name: /dev/disk2

# unmount the disk.
#
$ diskutil unmountDisk /dev/disk2
Disk /dev/disk2 unmounted

# create a local iso file from the DVD.
#
$ dd if=/dev/disk2 of=mydvd.iso bs=2048

# you can test the iso file with 'hdid mydvd.iso'
# and/or burn it by inserting a blank dvd and burn
# the iso using Disk Utility app.