Here's what you need to do, you have two options:
Use Internet Recovery to install Yosemite, like you were doing earlier, and then either upgrade to macOS Sierra via the App Store or just download the macOS Sierra upgrade to create a macOS Sierra USB Installer from.
To create a macOS Sierra USB Installer you need a working Mac so you can download macOS Sierra from the App Store and with a blank USB stick run this command via Terminal. Make sure you first reformat the USB stick using Disk Utility to Mac OS X Extended (Journaled). Also rename the USB stick to: Untitled
Use the following command:
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeractionThen perform a clean install using the macOS Sierra USB Installer.
Videos
Here's what you need to do, you have two options:
Use Internet Recovery to install Yosemite, like you were doing earlier, and then either upgrade to macOS Sierra via the App Store or just download the macOS Sierra upgrade to create a macOS Sierra USB Installer from.
To create a macOS Sierra USB Installer you need a working Mac so you can download macOS Sierra from the App Store and with a blank USB stick run this command via Terminal. Make sure you first reformat the USB stick using Disk Utility to Mac OS X Extended (Journaled). Also rename the USB stick to: Untitled
Use the following command:
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeractionThen perform a clean install using the macOS Sierra USB Installer.
If you have "Install macOS Sierra.dmg", Install it and you will get the app "Install mac OS Sierra.app" installed on your applications folder.
So to be clear, installing "Install macOS Sierra.dmg" will not install Sierra OS on the current computer but only puts the "Install macOS Sierra" app inside the applications folder.
This way you get the app. And you create the bootable USB by running the command given by Maximus.
Hope this help!
Tried wiping my MacBook via disk utility the other day and I’ve wiped the ssd and any recovery partitions. Now the online recovery fails to install MacOS sierra with a generic error “error occurred while preparing the installation try running this application again”.
I’ve tried making a bootable dmg from the sierra download from Apple but never shows up as a bootable usb (using transmac on windows). I don’t have access to any other mac devices. This is for a 2016 MacBook Pro. Does anyone have a link to the download for a bootable dmg?
The recovery on my MacBook Air 2017 is causing one error after the another so I am trying to create a bootable USB and use that. However a major issue is that I do not have access to any other Mac. After looking around the internet it seems there are some tools (not 100% sure if they will work or not) that can create one with the dmg file for the OS. However I am not able to find it in Apple Support and do not know any reputable website to download it from. Any suggestions will be highly appreciated!