How to Recover Data from an Erased Hard Drive on Mac (Even from a Startup Disk)

recover erased hard drive on mac

Accidentally erasing important files on your Mac is not necessarily a fatal mistake – although it can easily seem like one when it happens to you. As long as you didn’t do a full format, and the disk is not physically damaged, there’s a good chance you’ll be able to recover an erased Mac hard drive – if not fully, then at least partially.

There are various solutions on the market that can help you recover your data. Time Machine is built directly into your OS, and there are also tools like Disk Drill.

How Does Disk Utility Erase Data?

Disk Utility is the main disk management application on macOS, and it can assist you with various tasks related to your disks, including erasing them completely. The application has four levels of security when it comes to erasing data:

  • Fastest,
  • Fast,
  • Secure,
  • Most Secure.

If you’ve used anything above “Fastest” to erase your data, you’re not going to get it back. Luckily, “Fastest” is the default setting, so if you didn’t change it, you still have a good chance of recovering what you’ve lost.

security options on mac

Data erased with the “Fastest” setting isn’t actually physically gone from the disk. Instead, the program simply marks all sectors occupied by your data as unused, allowing applications to write over them freely. As long as no other applications have replaced your data though, it’s still there – just not immediately accessible through your operating system’s interface.

And while this means that you can eventually recover an accidentally erased hard drive, this does come with a few caveats. Most notably, you must stop using the disk immediately after it’s been erased. The longer you continue to use it, the more of the original data will get overwritten. This won’t happen in a controlled, sequential manner either. Applications will write to various parts of the disk for optimization reasons.

How to Recover Data from an Erased External Hard Drive on a Mac

If your drive was erased with the Fastest method you can try to scan it with data recovery software, such as Disk Drill. First of all, keep your drive disconnected while you’re downloading and setting up Disk Drill. Make sure to install Disk Drill on a drive separate from the one that’s affected. Only connect it to the computer once you’re ready to begin the recovery process. Remember, some applications might write to the drive-in unseen ways, even without explicit action on your part.

  1. Connect the drive to your Mac using the cable that came with it.
  2. Launch Disk Drill. You will be presented with a list of drives currently connected to your Mac.mac drives in disk drill
  3. Choose the one you want to recover and click on Search for lost data.search for lost data in disk drill
  4. Check the box for each file or folder you want to recover, then just click Recover, and select the location where you want to save your recovered data. The only important consideration here is to use a separate drive for saving your recovered data.recover files in disk drill

What to Do if You’ve Accidentally Erased Your Startup Disk on Your Mac

Deleting your startup disk can make your Mac unable to boot. It’s a mistake that inexperienced users are particularly prone to, as they often don’t realize the implications of this action.

If you’ve accidentally erased your startup disk on your Mac through recovery mode startup, don’t panic. Even though it’s a bigger mess to untangle, it’s still possible that you can get your data back.

Method 1: Use Disk Drill in Recovery Mode

Disk Drill can be easily used in Recovery Mode. This approach is a suitable option when you want to quickly recover your disk in an emergency without fiddling with additional tools like creating a bootable USB drive.

  1. Hold down Command + R while your Mac is turning on to start it in Recovery Mode. Hold down the power button if you’re on an M1 Mac.
  2. Once you’re in, start Terminal from the Utilities menu.open terminal in recovery mode on mac
  3. Enter the following command in the Terminal window and press Enter:
    sh <(curl http://www.cleverfiles.com/bootmode/boot.xml)

    terminal command in recovery mode on mac

  4. Disk Drill should now be downloading. Once that’s done, simply start it, and follow the steps we outlined in the previous section to recover your files. Keep in mind that previews will be disabled when you’re in Recovery Mode. recover files with disk drill in recovery mode on mac

Method 2: Use a bootable macOS drive

Alternatively, you can use a bootable macOS drive. Keeping a bootable drive around is good for situations like this, as it allows you to start the recovery process without any additional setup (other than installing Disk Drill).

  1. Download macOS Ventura.
  2. Connect a USB drive to your computer. Keep in mind that the contents of the drive will be erased completely.
  3. Go to Applications, then right-click on “Install macOS Ventura” and select Show Package Contents.
  4. Go to Resources.
  5. Open a new Terminal window.
  6. Type:
    sudo <path to macOS Ventura installation package> --volume <path to USB drive> --nointeraction

    For example:

    sudo /Applications/Install\ macOS\ Ventura.app/Contents/Resources/createinstallmedia --volum /Volumes/Untitled --nointeraction
  7. Press Enter – you’ll be asked to provide your Administrator password.
  8. Confirm the prompt.
  9. After the installation is complete, you’ll have a bootable macOS Ventura USB installation drive. Connect it to your computer and restart it. Once you’re in, install Disk Drill. Then, refer to the “How to Recover Data from an Erased External Hard Drive on a Mac” section above for instructions on recovering your files with Disk Drill.

Method 3: Use a Time Machine Backup

Restoring a backup from Time Machine a good option for those who want to recover their data with minimal hassle, but is a bit limited in terms of control over the recovery process compared to the other options we outlined above. If you want to restore an entire disk from a Time Machine backup you need to follow these steps:

  1. Connect the external hard drive with a Time Machine Backup to your Mac.
  2. Restart your Mac, and hold down Command + R. If you’re using an M1 Mac hold down the power button.
  3. Once you’re at the macOS Utilities screen, select Restore from Time Machine Backup.restore from time machine in recovery mode
  4. Select the backup you want to restore, and click Continue. Your Mac will start recovering the selected backup and will then restart.

Conclusion

As long as you know what you’re doing and have taken the time to prepare yourself with the right resources in advance, accidentally erasing a drive on your Mac is something that can potentially be undone with minimal long-term damage. The most important thing is to stop using the drive immediately, and have at least one recovery tool available and ready to use.

FAQ

When you erase your Mac’s hard drive, all the data, including your personal files, applications, and system settings, will be permanently deleted. This process clears the entire hard drive, leaving you with a new macOS installation.

There are different steps to restart your Mac after erasing your hard drive, and it depends on the Mac that you have. Before restarting, make sure that you are connected to the internet and plug in the power adapter. Reinstalling macOS needs an internet connection.
For Macs with Apple T2 Security Chip:

  1. Click the Apple menu, select Shut Down, then press and hold the power button until Loading startup options appear.
  2. Select Options and click Continue, then follow the instructions that appear on the screen.
  3. On the Recovery app window, select the Reinstall option for your macOS release, click Continue, and then follow the onscreen instructions to complete the reinstallation process.

For Intel-based Mac that doesn’t have the Apple T2 Security Chip:

  1. Click on the Apple menu and select Restart.
  2. Immediately press and hold the Command-R keys. This will bring up the Recovery app window. From there, select Disk Utility and click Continue.
  3. In Disk Utility, locate the volume you wish to erase from the sidebar and click on it. Then, click on Erase in the toolbar.
  4. On the Name field, give a name to the volume and select APFS from the format pop-up menu.
  5. Click on Erase Volume Group to proceed with the erasing process.
  6. Once the process is complete, click Done and then choose Disk Utility > Quit Disk Utility.
  7. On the Recovery app window, select Reinstall for your macOS release, click Continue, and then follow the instructions on the screen.
Yes. Erasing Macintosh HD deletes everything. This will leave your hard drive clean, so it is important to back up all your important files and data first before erasing your hard drive.

It is possible to retrieve the data previously stored on a hard drive by using data recovery tools. However, the success of data recovery is not guaranteed, and it depends on various factors. If a hard drive has been wiped using a secure erase method, the data is unlikely to be recovered.

In addition, the physical condition of the hard drive can also impact the recovery process. If your hard drive is already damaged or has already experienced a failure, this may reduce the success of your data recovery.

A passionate lover of technology, Stefan graduated with a MSc in geological engineering and currently serves as a freelance writer. His passion for technology and writing made him become an advocate for Mac and its features as they drive innovation… Full Bio