To create an ISO file from macOS installation files downloaded from the Mac App Store, follow these step-by-step instructions. This can be useful if you want to install macOS in a virtual machine or create a custom bootable medium.
✅ Prerequisites:
- A Mac running macOS.
- Installer downloaded from the Mac App Store (e.g., Install macOS Ventura, Install macOS Monterey, etc.), which will be found in
/Applications after downloading.
- Around 15–20 GB of free disk space.
📥 Step 1: Download macOS Installer
- Open the Mac App Store.
- Search for the desired version of macOS (such as “macOS Ventura”, “macOS Monterey”, etc.).
- Click “Get”.
- The installer app will be saved to:
/Applications/Install macOS <Version>.app
Make sure it's fully downloaded (the installer size is typically around 12–14 GB).
🛠 Step 2: Create a Disk Image (.dmg)
Open Terminal and enter the following commands depending on your macOS version. Replace <version> with the version name of the installer (like Ventura, Monterey, etc.).
1. Create an empty DMG:
hdiutil create -o /tmp/macos.dmg -size 16000m -volname macOS -layout SPUD -fs HFS+J
2. Mount the DMG:
hdiutil attach /tmp/macos.dmg -noverify -mountpoint /Volumes/macos
3. Use createinstallmedia (included in the installer) to copy installation files:
sudo /Applications/Install\ macOS\ <Version>.app/Contents/Resources/createinstallmedia --volume /Volumes/macos --nointeraction
☑️ This will turn the blank DMG into a bootable macOS installer volume.
🔄 Step 3: Unmount the Volume
hdiutil detach /Volumes/Install\ macOS\ <Version>
Replace the volume name if needed (Install macOS Ventura, etc.).
📦 Step 4: Convert the DMG to ISO
hdiutil convert /tmp/macos.dmg -format UDTO -o ~/Desktop/macos.cdr
This command will create a .cdr file on your Desktop. Rename and convert it:
mv ~/Desktop/macos.cdr ~/Desktop/macos.iso
✅ Result: You now have a macos.iso file on your Desktop.
🧹 Optional: Clean Up
rm /tmp/macos.dmg
💡 Tip: Use the ISO with VirtualBox, VMware, or to burn a bootable DVD (not common nowadays).
Would you like steps tailored for a specific macOS version (e.g., Ventura or Monterey)? I can provide the exact commands with the volume names.