Unable to restore OS

My late-2013 MacBook Pro froze today. Had to power off and back on again. Got the "question mark" logo so Googled why that happened. Got directed to this page: If your Mac starts up to a question mark – Apple Support (UK). Been through the steps (Command + R) but instead of getting the screen as shown in point 2 I was offered what I would refer to as a DOS-type window (I came late to Apple. Started life with DOS 4.0) I did the First Aid and Verify Disk and was told that "The volume OS X Base System appears to be OK".


Closed down and reopened later and did the same thing only this time I got the screen as shown in point 2. Did the First Aid/Repair again as described here: How to repair a Mac disk with Disk Utility – Apple Support (UK). Repaired the first volume as instructed and got the "process is complete" message I clicked "Done" in preparation for running the container - which promptly disappeared along with the Disk Image selection in the left pane. Restarted machine.


Was presented with the normal login screen - great! Entered my password and... everything froze again. Held down the power button until the device turned off then powered up followed by Command + R. Got the DOS-type window again. Did the First Aid / Verify again (same result) then went to restore OS.


Under "Select the disk where you want to restore the OS to" no disk was listed. Attempted more than once but no joy whatsoever.


I'd be eternally grateful if anyone can assist.



Posted on Oct 5, 2023 3:50 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 5, 2023 6:31 PM

Given the symptoms as a whole it appears that Mac's startup disk has failed.


A "DOS-type" window is a mystery to me though. If you installed Windows using Boot Camp it might be an explanation for its appearance, but that doesn't change the fact the disk has most likely failed regardless of what Disk Utility reports.


You might try erasing the startup disk according to Use Disk Utility to erase an Intel-based Mac – Apple Support (UK). After that, reinstall macOS (Step 10) and migrate that Mac's contents from its Time Machine backup. The startup disk might continue to work, perhaps for a long time.

Similar questions

11 replies
Question marked as Top-ranking reply

Oct 5, 2023 6:31 PM in response to md69

Given the symptoms as a whole it appears that Mac's startup disk has failed.


A "DOS-type" window is a mystery to me though. If you installed Windows using Boot Camp it might be an explanation for its appearance, but that doesn't change the fact the disk has most likely failed regardless of what Disk Utility reports.


You might try erasing the startup disk according to Use Disk Utility to erase an Intel-based Mac – Apple Support (UK). After that, reinstall macOS (Step 10) and migrate that Mac's contents from its Time Machine backup. The startup disk might continue to work, perhaps for a long time.

Oct 5, 2023 7:20 PM in response to md69

<<. "The volume OS X Base System appears to be OK". >>


That is great to know, but MacOS Base System typically of size about 2 GB is the stripped-down system used for Recovery and Installer, only. MacOS Base system is NOT the active system and may not be on ANY drive (it could be a ROM-resident disk image).


The default name for the active MacOS Volume might be Macintosh HD or similar names, or it can be changed to something of your choosing, but NOT MacOS Base System.


More telling is that if there was no other Volume offered, your drive may have died, as John Galt has already suggested.

Oct 9, 2023 2:36 PM in response to kaz-k

When I turned the MacBook on I got presented with the normal logon screen which was a surprise. Entered my password and the progress bar started to increase. Got as far as around 80% then I got the "your computer will restart due to a serious error" (or something similar).


Got into recovery mode and ran Disk Utility / First Aid on Disk Image macOS Base System. Ran successfully so rebooted and got the logon screen again. Got as far as 80% when the same thing happened again.


Back into recovery mode and ran Disk Utility / First Aid on Internal / Macintosh HD which was successful. Tried to run it on Internal / Macintosh HD Data and got an error.


error: (oid 0x6c4d) apfs_root: btn: dev_read_finish(2487, 1): Input/output error

fsroot tree is invalid

The volume /dev/rdisk2s1 could not be verified completely

File system check exit code is 0.

Restoring the original state found as mounted.


Operation successful.


Any further assistance gratefully received.

Oct 10, 2023 7:27 AM in response to John Galt

You have to be prepared to face the possibility that your drive has died. That is not ALWAYS the case, but is likely.


Drives sometimes have a few spare blocks that can be substituted for ones that go bad. But you can't know for sure until you have erased the drive and have re-written the drive and see if it can hold new data.


NB>> YOU need to erase the drive and test it, if desired. A technician can NOT take the gamble that the drive MIGHT come clean (it might not and they wasted all afternoon on it.) If you ask a technician to check the drive, it will ALWAYS be replaced, because that always works.


_______

When Magnetic drum and Magnetic disk devices were first invented, the recording surfaces were VERY expensive to make, and the prospect of one tiny defect sending the entire recording surface to the scrap heap was just too onerous. So they invented a way to 'work around' small localized defects, provided they were small. The concept is called 'spare blocks', and is still in use today, although not in exactly the same way.


Originally, the Drive controller reserved and set aside a few blocks in each recording 'neighborhood' that were never allocated or counted in the total capacity. when a Bad Block was detected in the factory, the controller would substitute a spare block from the pool of spares and make a note in its internal tables that whenever you mentioned that bad block number, the controller was to fetch that data from the spare block instead. later a separate lookup table was added to use for blocks that went Bad 'in the field'.


SSD drives use a variation called Over-Provisioning, to effect the same sort of results. So there is a slight chance a small number of Bad Blocks might not be a death sentence for the drive.



Oct 9, 2023 2:52 PM in response to md69

The:


Macintosh HD - Data (that your User volume, Not the easier-to-recover-from System Volume)

Input/output error


Sounds generic, but is actually VERY SPECIFIC.

Some of the blocks in the directory have gone Bad. not just bad data, but Bad Blocks. The data they were supposed to contain is unknowable, and the Directory is damaged, and therefore the drive is us-usable until re-written with new data.


¿what is the date of your most recent backup, and by what method?

Oct 9, 2023 2:54 PM in response to John Galt

A "DOS-type" window may be misleading. Windows isn't installed on the device. I meant something along the lines of this image: https://www.google.com/url?sa=i&url=https%3A%2F%2Fapplemuseum.bott.org%2Fsections%2Fos.html&psig=AOvVaw2EJeP4jBlfMZ_-g4NBD80N&ust=1696974223221000&source=images&cd=vfe&opi=89978449&ved=0CBAQjRxqFwoTCODy8uD36YEDFQAAAAAdAAAAABAF (but obviously not with that info).


I can get further into Disk Utility, clicking on the Images menu option. I've clicked verify and I can see myDocuments, Applications, Desktop, Documents and Downloads in the left sidebar. I can navigate my way through Documents and see everything that I expect to see on the HDD but all the files are greyed out. I inserted a USB drive in the hopes of being able to get some data off and the USB appears in the sidebar but I'm unable to copy to it, presumably because everything is greyed out.


Forgive my ignorance here, mainly because I was a Windows-only user for over 20 years, and have been a user of both for the last 10, but will restoring the OS overwrite my personal data? Only asking that because if an OS upgrade is rolled out it doesn't touch my data. (Re-)Installing DOS on a PC would always wipe out everything.

Oct 9, 2023 8:29 PM in response to md69

The Input/output error is a definitive indication that Mac's startup disk has failed.


... will restoring the OS overwrite my personal data?


No; reinstalling macOS is nondestructive on Macs. But as Grant Bennet-Alder wrote the Input/output error implies that at least some of the data stored on the startup disk is already gone. That log entry will not occur unless the low-level drivers responsible for disk I/O tried and failed to read or write data, multiple times.


macOS incorporates a backup system: Back up your files with Time Machine on Mac - Apple Support. You just have to connect a disk and turn it on.


To get your Mac fixed start here: Official Apple Support. Hard disk drives are easily and inexpensively replaced.

Apr 24, 2024 8:01 AM in response to kaz-k

Sorry for the delaying responding to the comments here since I last visited this page. I took the Mac to my local Apple store. They ran diagnostics on it and removed the drive and attached to one of their own machines via a caddy. The disk could not be seen. They suggested using the services of a data recovery services company that they recommend. I duly sent the device away for them to see if they could help out.


Sadly they have replied saying "The solid state drive inside the laptop has suffered firmware failure, and currently there is no support for this controller to bypass the issue. It is worth holding the drive, as a solution may become available in the future".


So I have lost several years' emails from customers and suppliers which is the one thing I really needed more than anything. They're not available online as once downloaded into Thunderbird they were deleted from the server (my own domain). All my documents were stored in Dropbox and I've been able to access those but the emails weren't. A hard lesson learned.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Unable to restore OS

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