Cannot install macOS after I created a disk called Macintosh HD in utilities - ”an error occcured while preparing the installation. Try running this application again.”
I erased my mac to sell it and when I wanted to install macOS there was no disk for me to select when it says "Selete the disk where you want to install Mac OS X", so I Googled it and followed these instructions:
”When I came across this I noticed that I didn't have a volume under the main APPLE SSD SM1024G Media. You need create a partition under it. Click on APPLE SSD SM1024G Media, select partition map scheme is GUID Partition Table. Name the volume Macintosh. Select and make sure it is in Mac OS Extended (Journaled) format. Select Apply. Once you see the volume created. Go back to the macOS utility screen and select install MacOS.”
And now I have a disk called Macintosh HD and when I go back to install MacOS (Sierra) I get this messege ”an error occcured while preparing the installation. Try running this application again.”
I tried to restart the computer but it did not help.