How to recover data after accidentally erasing Macintosh HD?

I tried to use steps but it’s not worked. Please help me.


[Edited by Moderator]

Original Title: Accidentally erased Macintosh HD

Posted on Sep 10, 2025 8:07 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 10, 2025 8:17 PM

Looks like the storage hardware might not be working.


Apple Diagnostics can find hard errors, but can miss transient errors.


Use Apple Diagnostics to test your Mac - Apple Support


If the SSD storage was erased, you’ll need a Time Machine backup or some other backup.


If the SSD is failing, booting from external storage might be a workaround:


Use an external SSD as your startup disk … - Apple Community



4 replies
Question marked as Top-ranking reply

Sep 10, 2025 8:17 PM in response to ferdinand299

Looks like the storage hardware might not be working.


Apple Diagnostics can find hard errors, but can miss transient errors.


Use Apple Diagnostics to test your Mac - Apple Support


If the SSD storage was erased, you’ll need a Time Machine backup or some other backup.


If the SSD is failing, booting from external storage might be a workaround:


Use an external SSD as your startup disk … - Apple Community



Sep 11, 2025 9:16 PM in response to ferdinand299

While you are booted to Recovery, use Disk Utility > View > Show All Devices, select the topmost device (not any volume under it), erase the device as APFS (case insensitive) with GUID partition scheme, and set a desired name. Then switch to High Sierra installer and try again to install to the freshly erased volume. If that fails, maybe try to erase as MacOS Extended instead APFS (although I guess that Mac's firmware seems to support APFS -- what Mac model is it??). If also that fails, then maybe the internal disk is broken and you could try to install to an external disk (although a broken internal disk might intervene also with that).



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.

How to recover data after accidentally erasing Macintosh HD?

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