Here are the steps to create a macOS bootable installer:
Download the macOS installer: Open the App Store on your Mac and search for the version of macOS you want to install. Click the Download button to download the installer to your Applications folder.
Prepare the USB drive: Insert a USB drive with at least 16GB of free space. Open Disk Utility and select the USB drive in the sidebar. Click the Erase button and select "Mac OS Extended (Journaled)" as the format. Give the USB drive a name and click Erase to format it.
Open Terminal: Launch Terminal from your Applications folder or use Spotlight to search for it.
Use the createinstallmedia command: In Terminal, type the following command, replacing "MyVolume" with the name of your USB drive and "Install macOS" with the name of the installer you downloaded:
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --nointeraction --downloadassets
Note: If you are creating a bootable installer for a version of macOS other than Mojave, replace "Mojave" in the above command with the name of the macOS version you are installing.
Enter your admin password: Press Enter and you will be prompted to enter your admin password. Type in your password and press Enter again.
Wait for the process to complete: The createinstallmedia command will erase the USB drive and copy the installer files to it. This process may take a while to complete, depending on the speed of your USB drive.
Eject the USB drive: Once the process is complete, type "sudo diskutil eject /dev/diskX" (replace "diskX" with the appropriate disk identifier for your USB drive) in Terminal and press Enter to eject the USB drive.
Your macOS bootable installer is now ready to use. You can use it to install the version of macOS you downloaded on any compatible Mac.
Comments
Post a Comment