Mac Os: Iso
ls /Applications/ | grep "Install macOS" Open Terminal and run:
hdiutil create -o ~/Desktop/macOS_temp -size 14g -volname macOS -layout SPUD -fs HFS+J This creates a 14GB read/write disk image. hdiutil attach ~/Desktop/macOS_temp.dmg -noverify -mountpoint /Volumes/macOS_temp 4. Create the Bootable Media sudo /Applications/Install\ macOS\ Sonoma.app/Contents/Resources/createinstallmedia --volume /Volumes/macOS_temp --nointeraction Replace Install\ macOS\ Sonoma.app with your macOS version. 5. Unmount the Temporary Volume hdiutil detach /Volumes/Install\ macOS\ Sonoma 6. Convert DMG to ISO/CDR hdiutil convert ~/Desktop/macOS_temp.dmg -format UDTO -o ~/Desktop/macOS_install.iso This creates a .cdr file. Rename it: mac os iso