Oct 22, 2008

Create an .iso Image with OS X 10.5

For work I needed a burnable CDROM .iso image for use on both Macs and PCs. On OS X 10.5, this can all be done with your Mac, no special software required. Unfortunately, no one has written down all the steps. So, if for only but my own benefit, here are all the steps to create an image. Note: I am doing quite a bit of testing so if I run into any issues, I will post an update.

Create an .iso Image from Scratch on OS X 10.5 Leopard

  1. Create a directory which acts as the root directory for your iso image.
    • For example, name the directory Source_Code_V1.
    • All the files for this iso image would go into the Source_Code_V1. directory.
  2. Open the Disk Utility program. It is in the Utilities subdirectory of your /Applications directory.
  3. From the Disk Utility menu, select File -> New -> Disk Image from Folder
  4. Select the folder you created above. (i.e., Source_Code_V1).
  5. A dialog pops up. By default the image name will be the same as the directory name.
  6. You have options to select: Image Format and Encryption.
    • Image Format - Since this is a CDROM select the hybrid image (HFS+/ISO/UDF) option.
    • Encyrption - Select none.
  7. Click Save. Your directory is now converted into a OS X disk image (with a .dmg extension). You should be able to mount this image and view the files.
  8. Mount the disk image and make sure all the files are there as you want them.
  9. To create the iso image, open a terminal window.
  10. Navigate to the directory where your disk image is.
  11. Type in the following command to convert your image into a cd image.: hdiutil convert Source_Code_V1.dmg -format UDTO -o Source_Code_V1
  12. An CDROM image file is created with a .cdr extension.
  13. To make the file an iso, rename the file.
  14. mv Source_Code_V1.cdr Source_Code_V1.iso

That's it. You should have a shiny new .iso image you can burn to a CD or share with your friends.

Post a Comment