

If you intend on using the ISO file for a virtual machine, you simply need to select the Mojave.iso disk image in the virtual machine app as a boot disk, or mount it within the VM as any other disk image would be. That’s it, now you should have an “Mojave.iso” disk image file on the Mac desktop which is the macOS installer ISO image. Mv ~/Desktop/Mojave.cdr ~/Desktop/Mojave.iso Finally, we rename the CDR file extension to ISO to convert the CDR to ISO:.Hdiutil convert /tmp/Mojave.dmg -format UDTO -o ~/Desktop/Mojave.cdr Now we convert the DMG disk image file to an ISO disk image file (technically a CDR file but it’s the same as an iso).Hdiutil detach /volumes/Install\ macOS\ Mojave When createinstallmedia has finished, next you can unmount the volume you just created:.Sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia -volume /Volumes/Mojave -nointeraction Next we will use createinstallmedia to create the macOS installer application on the mounted volume:.Hdiutil attach /tmp/Mojave.dmg -noverify -mountpoint /Volumes/Mojave Mount the created DMG disk image as follows:.Hdiutil create -o /tmp/Mojave -size 8500m -volname Mojave -layout SPUD -fs HFS+J Create a disk image DMG file buy issuing the following command:.When the “Install MacOS Mojave.app” or “Install MacOS Catalina.app” application is fully downloaded and within the /Applications folder, proceed.First, download MacOS Mojave installer, or the MacOS Catalina installer (or the installer you wish to turn into an ISO) from the Mac App Store.

This process will take an installer for macOS and create an ISO file from it which can be booted or used as a typical disk image file.

How to Create a MacOS Mojave ISO or Catalina ISO File from an Installer You can use the same steps to create an ISO file from practically any other MacOS Installer with createinstallmedia present however, including building a MacOS Catalina ISO, or for Big Sur, High Sierra, and Sierra, simply by replacing the file names where appropriate. In this particular walkthrough, we’ll be converting a MacOS Mojave installer application into an ISO file. This tutorial will walk through the steps to create an ISO file of a MacOS installer.
