Type your administrator password when prompted (it will not show as you type) and press .
Method 2: The Disk Utility Method (For Legacy OS X Versions)
Open (Press Command + Space , type "Disk Utility", and press Enter ).
: Double-click your OS X DMG file to open and mount it.
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app Use code with caution.
Select the USB installer icon from the available options and click . create mac os x bootable usb installer from dmg
A DMG is just a container. Double-click it in Finder. Inside, you will likely find one crucial item: Install macOS [Version Name].app .
Ideally, Apple wants you to download macOS from the App Store as a .app file and use the built-in terminal command createinstallmedia . However, you often end up with a .dmg file if:
sudo /Applications/Install\ macOS\ Big\ Sur.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume Use code with caution.