macOS: Create an ISO From a Folder

KB ID 0001554

Problem

I had to get some files onto a server today that had no internet access. I did have iLO access, so if I could get the files into an .iso file, I could present that as a virtual CD/DVD drive, and install the software I required.

But how to create an .iso file on my mac?

Solution

It’s a two step procedure, first you use Disk Utility to create a CDR image, then you convert that image to an ISO.

Launch Disk Utility > File > Image from Folder > Browse to and select the folder containing your files > Set the ‘Image Format’ to DVD/CD master > For ease I’m saving it on my desktop.

This will create a CDR disk image, to convert it to an ISO image, open a terminal windows and use the following syntax.

[box]

cd ~/Desktop
hdiutil makehybrid -iso -joliet -o -FILENAME.iso FILENAME.cdr

[/box]

Related Articles, References, Credits, or External Links

NA