
Ricky Lin
Monday, June 12, 2023
Create macOS DMG and Bootable ISO
dmg
- AppStore ==> search ‘install macos’ ==> get installer ==>
du -sh /Applications/Install\ macOS\ Mojave.app/ - Disk Utility ==> File ==> New Image ==> Blank Image
- Size: installer size
- Format: Mac OS Extended (Journaled)
- Partition: Single partition - GUID Partition Map
- Image Format: read/write disk image
- same as
hdiutil create -o ~/Desktop/macOS\ Mojave -size 6500m -layout SPUD -fs HFS+J
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/macOS\ Mojave
iso
hdiutil convert ~/Desktop/macOS\ Mojave.dmg -format UDTO -o ~/Desktop/macOS\ Mojave.isomv ~/Desktop/macOS\ Mojave.iso.cdr ~/Desktop/macOS\ Mojave.iso