20110201

How to create a .iso image of a cd on a Mac OsX

As OsX is Unix based we have a lot of tools that came in the standard installation of our Mac.
To create an ISO file we have to use the dd command in our terminal.

Insert your CD-ROM into your CD-ROM drive, and then fire up your Teminal (Applications/Utilites/Terminal). Run this command to get the name of the device: drutil status

diegoMB:~ diego$ drutil status
 Vendor   Product           Rev 
 HL-DT-ST DVDRW GWA4080MA   BE39

           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:  336:26:02         blocks:  1513952 /   3.10GB /   2.89GiB
    Writability: 
      Book Type: DVD-ROM (v1)

As we can see here our drives name is disk1. To use dd we need to umount the CD-ROM:

diskutil unmountDisk disk1

Now we can use dd to create the iso file:

dd if=/dev/disk1 of=my_file.iso

after the iso file is created you can mount the CD-ROM with:

diskutil mountDisk disk1

;)

No hay comentarios.:

Publicar un comentario