How to recover a Deleted Hard Drive during macOS reinstallation

So I was trying to erase my mac drive so I can reinstall macos but I ended up deleted my entire hard drive and now when I try to install my mac again it always says “The recovery server could not be contacted”. what do I do? I bought a bootable disk and it’s still not working.


[Re-Titled by Moderator]

iMac 27″, macOS 10.13

Posted on May 17, 2023 3:27 PM

Reply
Question marked as Best reply

Posted on Jan 3, 2024 1:44 PM

This is what I'm currently trying to do. I've watched this video. Hopefully it'll help someone. It's going into terminal and changing the OS download link so it now works to download High Sierra.


I no longer received the “The recovery server could not be contacted” error


https://www.youtube.com/watch?v=ouNQS36dIBw&t=95s

49 replies

Jan 5, 2024 2:25 PM in response to denali182

Had this issue,spent a couple of days messing around formatting hard drives, using wifi, ethernet, changing the time etc. Found an article on mr macintosh about looking at the installer log and seeing that the installer cant see the apple server, following the info about resetting the nvram using some copy and pasting into terminal (really straight forward,website is really clear) it worked straight away. Now happily downloading. https://mrmacintosh.com/how-to-fix-the-recovery-server-could-not-be-contacted-error-high-sierra-recovery-is-still-online-but-broken/

Nov 21, 2023 7:19 AM in response to denali182

Ok I had this same problem and I finally got High Sierra to install. Here is what I did.


Step one you will need to download a copy of the high Sierra dmg file.

macOS.High.Sierra.10.13.6.dmg


Step two you will need to download the High Sierra Patcher tool

here


Step Three on the current Mac you will have to allow the patcher app to install for use through the security settings


Step four connect a blank thumbdrive to your Mac to install the High Sierra OS to needs to be over 16gigs


Step five run the High Sierra patcher program and point it to the .DMG file you downloaded earlier and tell it to install it on the thumb drive

This process takes some time to complete and failed the first time I tried it so try again. The second time the process finally completed.


Step six On the old Mac start the Mac while pressing command option and R


Step seven make sure the this Mac is not connected to the internet via wifi


Step eight go to utilities at the top of the screen and open the terminal app


Step nine type the command

date 0101010118 and press enter

this will set the date and time on this Mac.

Step ten close the terminal app, connect the usb stick you made to this Mac, and then restart the Mac while holding the option key.


Step ten select the thumb drive that has High Sierra operating system installed on it and go through the installation process.


So far this is the only way I have been able to get this to work. I ran all of the initial processes using my M2 MacBook Pro 13" so it should work for all of you if you need to create a usb Mac OS disk.


Hopefully this helps you guys it took me forever to get this to work!


Nov 19, 2023 1:36 PM in response to Kenneth Mclauchlan

How can I download a copy of High Sierra or Big Sur (trying to fix a problem on a 2017 MBP with touch bar) when my only working machine is a 2021 MBP running Sonoma? When I go via the App Store, it starts to download Big Sur but then tells me that it's not compatible with this machine and terminates the d/l. Well I don't want it for this machine; I want it to create a bootable flash drive! Any suggestions? Starting the 2017 MBP in recovery mode runs into "the recovery server could not be contacted."

Oct 10, 2023 8:54 AM in response to BDAqua

I am trying to install High Sierra on a Late 2009 iMac. I have erased the HD in GUID and Mac OS Extended Journaled, and I know the Wifi is working properly.

This is the most recent hurdle I faced. Before that, I was trying to create a bootable USB from a Sonoma Mac, and it did not work. Then I have to delete a plist file from the installer. And now that!!! I find that Apple' article about how to create a bootable USB is an utter .... won't write it though:-)

Oct 15, 2023 11:42 PM in response to denali182

I had the same issue and despite following the Alt CMD R option all I got was a blank Apple screen and no way to get to Disk Utility. On restart my options were renewed and I used my Time Machine Back Up to restore all operating systems including MS OS with High Sierra. I'll now start again using the instructions specifically for cleaning to sell with High Sierra.

Jan 15, 2024 7:22 PM in response to denali182

I would like to add some clarity since this frustrating error could use a lot less of our time trying to get around it.

I have gathered the solution that worked for me from multiple forums beginning with the answer here from Gwopoppam, who started me on the path to success.

In Gwopoppa's instructions, skip the first step of downloading the High Sierra dmg file. You can do it from within the patcher app in step 2 and the patcher won't verify other downloads (or didn't for my 6 versions.)


Insert a Flash Drive (honestly 16GB minimum) and use disk utility to format MacOS Extended (Journaled) & GUID and name the drive MyVolume


Get that patcher app which will either open right up (on my mac mini) or require allowing it via Sys Pref-Security (my 2012 MBP and 2017 MBP TouchBar) where you will instruct your mac to open the file.


From another forum: when the patcher opens up and asks you to click the image to select a file, click Tools in the menu bar which will give one option of downloading the dmg right from apple. This method took 5 minutes as opposed to the 2 hours I waited for 2 different downloads that couldn't be verified by the patcher. When complete it will verify it and ask if you want to create the bootable drive. You don't because it will likely fail while making a drive that looks like it has the right contents. All you want is that download which you are to now copy from the downloads folder (the Install macOS High Sierra app) and paste into the Applications folder.


Open Terminal and follow the Apple link for the terminal commmand to create a High SIerra bootable installer flash drive:

Create a bootable installer - Apple Support


Here's the command and please note naming the drive MyVolume as well as copying the app into the applications folder helps this command work:


sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume


After pasting the command in terminal enter your admin password (nothing will appear while typing) and press enter. The bootable drive will be created (8 min)


When it's finished eject the flash drive and remove it.


On the mac you are installing High SIerra on, insert the flash drive and power on holding the option key. Select the drive you just created. It will likely boot to the macOS Utilities screen. If it boots to the installer congratulations, but don't waste time clicking Install MacOS from the utilities menu if you get to that screen.


Disconnect any ethernet cable and/or turn off Wi-Fi.


Open disk utility and format the drive to install the OS on as MacOS Extended (Journaled) and GUID.


Go to Utilities in the menu bar and open Terminal.


Type Date 0101010118 and press enter.


Then type csrutil disable and press enter to turn off SIP.


Click the Apple icon and Restart. Just let it completely restart which should bring you back to the MacOS Utilities screen.


Restart the computer holding the Option Key. Select the bootable flash drive and follow the installation instructions.


Crazy fun!!!! 2 weeks I spent on this iMac. So glad I can hand it back to the owner now.

Jun 5, 2023 7:37 PM in response to denali182

Like many others, I ran into the dreaded “The recovery server could not be contacted” message when trying to do a restore of Mac OS High Sierra for a 2010 13 inch MBP that I was selling (yes I know it’s worth almost nothing, but someone wanted to buy it from me).


I tried all of the recommended fixes:


Check Internet / WiFi connection: They are fine


Check date to make sure it is current: It’s fine


Check to see if Apple’s OS Update Server is up: It’s fine


In the end the only way I was able to get around the “recovery server could not be contacted” issue was to install a bootable version of High Sierra on a flashdrive, then boot the 2010 MBP holding down the Option key to get the installation started.  It was necessary to use Terminal to make it work.


The first step is to get a High Sierra Installer through the App Store.  I downloaded it on another 13 inch MBP that runs Mojave, and after the download was complete there was a message that High Sierra was too old for this computer and will not be installed.  Obviously I didn’t want to install it on that computer anyway.  I never could figure out where the Installer file went; it wasn’t in Downloads. 


Here are some other problems that had to be overcome.


The 2010 MBP had a 500 GB SSD.  It was formatted as APFS, and everything I read seemed to indicate that it needed to be formatted as Mac OS Extended (Journaled).  Disk Utility would not give me the option of formatting in Mac OS Extended (Journaled), so that had to be done using Terminal:  


In Terminal type:


diskutil list


to get a list of all drives.  Identify the disk you want to format.  For example, assume it is disk0.


Type this command in Terminal to format the SSD in Mac OS Extended (Journaled):


         diskutil eraseDisk JHFS+ <your drive name> /dev/disk0


where <your drive name> is what you want to call the disk.


The flashdrive I was using also had to be formatted as Mac OS Extended (Journaled).   This could be done in Disk Utility.


The procedure for transferring the Installer file to the flashdrive is described here:


Create a bootable installer for macOS - Apple Support


The process will appear to stop after the flashdrive is erased and the High Sierra Installer begins installation, but give it time (about 15 minutes).  Eventually the installation to the flashdrive will be completed and Terminal will advise it is complete.


Installation onto the 2010 MBP was straightforward: Insert the flashdrive into a USB port, boot with the Option key held down and follow the prompts.




Dec 31, 2023 10:07 PM in response to Gwopoppa

I noticed that the High Sierra Patcher was relabelling my USB stick to a different volume name "OS X Base System". However, later in its processing it referred to the original volume name of the USB stick and reported a failure to find certain files.

So, for the next attempt, I formatted the USB stick as Mac OS Extended (Journaled) and specified "OS X Base System" as the volume name. And that worked right away. And now I've got High Sierra installed on this old iMac. Thanks!

Nov 22, 2023 12:06 PM in response to denali182

Hello! I was never able to contact the recovery server, but I was able to get this working on my machine (an M2 MacBook Pro) and create an installer for my old iMac. You will use 3 things:


1) a 16 gigabyte flash drive with a USB-C side and USB-A side, or some way of getting the media into both your apple silicon Mac and the target Mac

2) If you are trying to download "install MacOS High Sierra.app", it's in this weird position where it isn't available directly on Apple's website and yet the App Store won't let Apple Silicon macs download it. The free trial of MDS, an enterprise Mac tool, can allow you to download it. Install the trial from https://twocanoes.com/products/mac/mds/, then MDS > "Don't show again" and "not now" on key creation > Download MacOS (in the sidebar) > MacOS High Sierra 10.13.6 > Download > [choose your Applications Folder].

3) Once you download the installer to your applications folder, follow this reddit post to make your mac willing to run the "createinstallmedia" tool in the High Sierra installer: https://www.reddit.com/r/MacOS/comments/xobos7/createinstallmedia_wont_work_terminal_says_zsh/


Good luck!

Dec 31, 2023 4:56 PM in response to Gwopoppa

I followed this process as well but I was given errors "couldn't unmount volume" when trying to install onto the older mac. What worked for me was to restart and hold option, turn off wifi and then go into terminal and typing "date 1025000017" before attempting to install High Sierra from the thumb drive instead of changing the date before you restart the computer. (do step 10 before 7-9)

How to recover a Deleted Hard Drive during macOS reinstallation

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.