Chapter in this post:
If you want to reinstall macOS on an Apple Mac, then this error message may thwart your plans: An error occurred while preparing to install. Try to run the program again. - But it is no reason to despair. The error, which is not further named by the message, is found quickly and can be eliminated without too much effort. In this guide, I'll show you how to do it.
Probably the most common reason for the warning “An error occurred while preparing to install. Try to run the program again. ”Is an incorrect system time. If the time in the Apple Mac has been changed by resetting the computer, replacing the system hard drive or some other measure, you can easily change it to the current date and time.
If you hold down the key combination Command + R (or cmd + R or ⌘ + R) when starting the Apple Mac, you will enter recovery mode. You can find details on this in this post. If that worked, you will find, among other things, the menu bar in which you can find under Utilities the point Port selects.
To get the Mac system time, give her the command in the terminal data and press the Enter key. Now you can see whether the current date is correct with weekday, day, month, year and time. If it does not match the current data, enter the date command again, but this time with a character string that represents the current data.
This works according to this pattern: month-day-hours-minutes-year - with two digits for each value. For September 3, 2019, at 11:30 a.m., the command would look like this:
You confirm the whole thing again with Enter / Enter key. Then you can close the terminal and try the installation of macOS again. The error message should not appear again, but rather the installation of the operating system on the hard drive of the Mac, iMac or MacBook should go smoothly.
Jens has been running the blog since 2012. He appears as Sir Apfelot for his readers and helps them with problems of a technical nature. In his free time he drives electric unicycles, takes photos (preferably with his iPhone, of course), climbs around in the Hessian mountains or hikes with the family. His articles deal with Apple products, news from the world of drones or solutions for current bugs.