To perform a clean installation of macOS Sierra (basically, Mac OS X 10.12), I recommend using a bootable USB flash drive containing the macOS Sierra installer. Below are the steps I took to create the bootable USB flash drive and how I used it to install macOS Sierra.
Note: The macOS Sierra Disk Utility and installer appears to be more buggy and much slower than previous versions. The best advice for installing macOS Sierra is to try again and be very patient (if you expect an operation to complete in 5 minutes, then give it at least 50 minutes).
Put the macOS Big Sur installer on an external USB thumb drive or hard drive and use it to install the operating system on a Mac. If you want to do a clean install of macOS Sierra, or you have multiple Macs to install it on, then a bootable flash drive for is your best bet for easy installation. Here’s how to make one. Click Install macOS and choose to install it from the selected USB drive. Click on “Install macOS” How do I regularly install macOS Big Sur? The regular install is done via upgrading your current macOS. That is, you don’t erase your entire disk. When the new macOS Big Sur is officially released, you just open the App Store Updates. Install macOS Catalina on USB Drive 1. Go to Applications and double click on the macOS Catalina installer 2. Either you are making an Hackintosh or re-installing macOS on Apple Hardware you need macOS Installation File on an Bootable USB, handy to Download for those who want to do clean Installation.
Download macOS Sierra Installer
The macOS Sierra installer is available from the Mac App Store. Run the “App Store” application, search for “macOS Sierra”, and download it. It will save the installer as an “/Applications/Install macOS Sierra.app” file (about 4.97GB in size).
Note: If you run the macOS Sierra installer to upgrade your Mac, the downloaded file will be deleted automatically after the upgrade is completed. To keep that file, you will want to move it out of the Applications folder so it won’t be deleted after an upgrade. Launch the “Terminal” application and run this command to move the downloaded installer to your user’s “Downloads” folder:
If you are paranoid (doesn’t hurt), you can verify that the installer file was downloaded correctly by verify its checksum. Run the “Terminal” application and this command:
Format USB Flash Drive
The macOS Sierra installer takes up 5.1GB of space on the USB flash drive, so you will need a flash drive with a capacity of 8GB or greater.
Note: If the flash drive is mounted under “/Volumes” successfully when you plug it in, you can skip the following steps to reformat the flash drive. This is because the script we run to create the bootable drive will reformat the flash drive as an initial step. Because I am paranoid, I recommend reformatting the USB flash drive manually anyhow.
Format the USB flash drive using these steps:
Create Bootable USB Flash Drive Installer
To create the bootable USB macOS Sierra installer, run the “Terminal” application and this command:
Update: For macOS 10.14 Mojave (and its predecessor, macOS 10.13 High Sierra), the createinstallmedia command no longer requires the “–applicationpath” and “–nointeraction” flags, so omit them. The command becomes just “createinstallmedia –volume /Volumes/Mojave”.
Note: If the createinstallmedia command returns a “Failed to start erase of disk due to error (-9999, 0)” error, then your current Mac OS X version does not fully support the createinstallmedia tool. Instead, create the USB installation drive manually using instructions from Bootable USB Flash Drive to Install Mac OS X 10.10 Yosemite.
The “createinstallmedia” program will erase the USB flash drive, create a new partition named “Install macOS Sierra”, and copy the installation files to that partition. The output will look like:
The program will pause at the “Copying installer files to disk…” output line above. This step took 20-30 minutes with my Kingston 16GB USB 2.0 flash drive. Yours may take a shorter or longer time. I recommend giving it at least an hour, maybe two, before giving up.
Note: Mac hardware is very finicky about USB flash drives. Initially, I used a Corsair 32GB USB 3.0 drive; however, when I held down the Option key to try to boot with it, the Mac would freeze with a black startup screen. The Kingston 16GB USB 2.0 drive did not have this problem. So if you enounter issues (when erasing and copying) or weirdness (when booting), consider changing to another brand of USB flash drive. If you don’t have another drive, consider at least testing the flash drive to make sure it is not bad or corrupted (“First Aid” in “Disk Utility” is the minimum; google for more powerful tools).
Boot With USB Flash Drive
Note: I recommending connecting the Mac to its AC power adapter before beginning the macOS Sierra installation. The installation may take a long time (an hour or more) and you don’t want the battery to die in the middle.
To boot a Mac with the USB flash drive:
It may take 5-10 minutes or longer to load the installer from the USB flash drive. Sometimes the progress bar may appear to be frozen… just be patient. I would give it at least 30-60 minutes to load before giving up.
Format the Hard Drive
When the installer finishes loading, you will see a “macOS Utilities” window appear. Do the following to format the internal hard drive:
Note: Now and then, I noticed the output of the Erase seems to erroneously double the size of the hard drive. For a 128GB hard drive, the graph shows 120.88GB macOS (in blue) and 120.37 GB Unformatted (in red). I think it is just a user interface bug because when I close Disk Utility and re-open it, the graph then only shows the 120.88GB macOS (in blue).
Install macOS Sierra
Back at the “macOS Utilities” window, do the following to begin the macOS Sierra installation process:
Note: You may encounter strange hardware behavior. On my 13 inch Macbook Pro Retina, the macOS Sierra installer turned the fan on to maximum for the whole duration of the installation. Thankfully, once it finished and rebooted, the fan turned off and stayed off.
The macOS Sierra installer tries to be helpful by telling you how long it will take. Unfortunately, it lies. You should take whatever remaining time it tells you and multiple by 10 (for minutes) or 100 (for seconds). If it says “6 minutes remaining”, that could mean 60 minutes or one hour remaining. Worse, if it says “6 seconds remaining”, you may be staring at that message for 600 seconds or one hour.
The best solution is to be patient. Go grab a bite to eat and watch a movie. Take a long nap or better yet, sleep your 8 hours. I would wait at least 4 hours before giving up.
Note: You can display the installer’s log window (using the menu or pressing Cmd+L). I didn’t find this helpful at all. Even for a successful install, numerous errors are logged; I don’t know what is a critical or non-critical error. And often, you won’t see a progress/status log output for a long time, easily 20-30 minutes. Not seeing any new log statements does not mean that the installer froze. So the logs didn’t do anything for me.
What Does Giving Up Mean?
Giving up means you have accepted defeat. The next step is to retreat and try again. Some suggestions on how to proceed:
Hopefully, this post will help you to do a fresh installation of macOS Sierra.
Some info above taken from:
Determine whether you're using a Mac with Apple silicon, then follow the appropriate steps:
If you're asked to select a user you know the password for, select the user, click Next, then enter their administrator password.
Select Reinstall macOS from the utilities window in macOS Recovery, then click Continue and follow the installer's instructions.
Follow these guidelines during installation:
After installation is complete, your Mac might restart to a setup assistant. If you're selling, trading in, or giving away your Mac, press Command-Q to quit the assistant without completing setup. Then click Shut Down. When the new owner starts up the Mac, they can use their own information to complete setup.
By default, macOS Recovery installs the latest macOS that was previously installed on your Mac.* You can get other macOS versions using one of these methods:
* If you just had your Mac logic board replaced during a repair, macOS Recovery might offer only the latest macOS compatible with your Mac. If you erased your entire disk instead of just the startup volume on that disk, macOS Recovery might offer only the macOS that came with your Mac, or the closest version still available.