Incorrect date & time settings and incompatible installer build are the two most common factors that can influence your system to return this error message. But, corrupted NVRAM data and installation bugs and glitches can also lead to this error. No matter what the causes are, there are several proven fixes, all of which we will discuss below.
How to Fix “An Error Occurred While Preparing the Installation” on Mac?
The very first thing you can do to work to against this error is to restart your computer. This deallocates all the system resources, and the session starts anew. Moreover, go ahead and retry the installation process after restarting your computer. It might solve your problem quickly. However, if this doesn’t do anything in particular, follow all the fixes shown below.
Ensure Your System and the Installer Are Compatible With Each Other
Before you begin diving into technical fixes, make sure that the installer is compatible with your macOS. An incompatible setup file cannot update your operating system, and hence, this step is a must. However, there’s a simple way to verify the compatibility of your OS and the setup file. You can visit the App Store to do so.
Fix Your Date and Time
If your system date/time is not as same as the one in your actual timezone, you cannot continue the installation process. Every macOS installation file is known to check your system date/time and verify it with your timezone. But if it cannot complete the verification, the installation process fails to begin. Therefore, you can change your date and time to fix this issue. However, there are two ways to do so. One method involves changing the date and time through the System Preferences, while another is done through the Terminal.
Through System Preferences
For users who are able to log in to their Mac, follow these steps:
Through Terminal
For users who are unable to start up their operating system and are not able to login to the desktop screen, follow these steps:
Reset NVRAM
A proper NVRAM operation is required for your system to perform efficiently. That’s because NVRAM controls the workflow of the interfaces installed on your computer. Furthermore, the information stored in this memory unit does not disappear even if there’s no power supplied. So, if you’re having installation issues on your system, you can reset the NVRAM and retry the installation after that. For M1 Mac users, NVRAM is reset automatically after each system restart. But Intel-based Mac users follow these steps:
Install via Safe Mode
To rule out the error caused by third-party extensions, you can install macOS after a safe startup. That means the safe mode feature boots up your computer with only essential software interfaces and device drivers. This prevents the system from allocating resources to third-party applications; here’s how you do so: On Intel-Based Macs On Apple Silicon Macs
Reinstall From the Recovery Window
The recovery mode is like your Mac’s ace in the hole. That means whenever you run into system errors, including a failed startup and installation process, you can resort to the recovery mode to fix your problem. However, the steps to reach the recovery mode vary depending on whether you’re using an Intel-based Mac or an Apple Silicon Mac. Furthermore, there are two ways to install macOS; one without erasing the disk and one after erasing your disk. All these methods are shown below.
Without Erasing Disk
Reinstalling macOS without formatting your disk drive will not cause any data loss because the new operating system will be installed on top of the previous one. So, here’s how you reach the recovery window: On Apple Silicon Macs On Intel Macs
By Erasing Disk
Another verified method to fix the error you’re facing is by reinstalling macOS after erasing your disk drive. However, this method will completely format the selected drive, and all your data will be erased. So, it’s better if you back up your data before going down this path. Considering this, follow the steps shown below: On Apple Silicon Macs On Intel Macs
Redownload Installer and Retry
If no methods work, you have to re-download the installation file, as it could simply be corrupted. Trying to fix the installer would be much more difficult, and hence the better option would be to redownload the file completely. For this, you can visit the App Store and search for the macOS version you’d like to set up. Either that, or you can do so via Apple’s official webpage. No matter which method you opt to follow, make sure that you delete the corrupted setup file beforehand.