keepcalculator

06 Numbers and Powers

Accidentally Deleted Startup Disk? Recovery Steps

Card No. 06·69009 · Updated · Standard formula, shown below

If you accidentally deleted your startup disk, you can often recover it using Disk Utility in macOS Recovery or by reinstalling the operating system, but the exact steps depend on whether the disk is still visible and whether you have a backup. This article explains what a startup disk is, how deletion happens, and the practical recovery paths for both Mac and Windows systems.

What a Startup Disk Is and Why Deletion Happens

A startup disk is the physical drive (SSD or HDD) that contains the operating system and the files needed to boot the computer. On a Mac, the startup disk is usually named “Macintosh HD”; on Windows, it is typically the C: drive. Deleting it can happen in several ways:

  • Accidentally erasing the wrong volume in Disk Utility or Disk Management.
  • Running a partition tool and selecting the wrong drive.
  • Using a command like diskutil eraseVolume or format with the wrong target.
  • Corruption that makes the disk appear unmounted or unformatted.

When the startup disk is deleted, the computer may show a flashing question mark (Mac) or a “No bootable device” error (Windows). The data itself is often still on the drive, just not accessible as a bootable volume.

First Steps: Check If the Disk Is Still Visible

Before attempting any recovery, verify whether the disk is recognized by the system. This determines which recovery method will work.

  1. Mac: Restart and hold Command+R to enter macOS Recovery. Open Disk Utility from the Utilities menu. If the disk appears in the sidebar but is grayed out or shows as “unmounted,” you can often remount it without erasing.
  2. Windows: Boot from a Windows installation USB, then press Shift+F10 to open Command Prompt. Type diskpart and then list disk. If the disk appears, it is still physically connected.

If the disk is not visible at all, the issue may be hardware-related (cable, port, or drive failure). In that case, professional data recovery may be needed.

Recovering a Mac Startup Disk with Disk Utility

If the disk is visible but not mounted, you can often fix it without erasing:

  1. In Disk Utility, select the disk (not the volume) and click Mount.
  2. If mounting fails, run First Aid on the disk. This checks and repairs the file system structure.
  3. If First Aid reports errors but cannot fix them, you may need to erase the disk and reinstall macOS. This will delete all data, so only do this if you have a backup or have exhausted recovery options.

If the disk was truly erased (not just unmounted), your only options are to restore from a Time Machine backup or reinstall macOS. A clean install will create a new startup disk, but your personal files will be gone unless you recover them with third-party software before reinstalling.

Recovering a Windows Startup Disk

On Windows, if the C: drive was deleted, you can often rebuild the boot configuration using the recovery environment:

  1. Boot from a Windows installation USB and select Repair your computer.
  2. Go to Troubleshoot > Advanced Options > Command Prompt.
  3. Type bootrec /fixmbr, bootrec /fixboot, and bootrec /rebuildbcd. This repairs the boot loader, not the file system.
  4. If the disk is not formatted, you may need to use diskpart to assign a drive letter and then run chkdsk to repair the file system.

If the disk was formatted (erased), you will need to reinstall Windows. As with macOS, data recovery software can sometimes retrieve files from a formatted drive, but success is not guaranteed.

Data Recovery Options Before Reinstalling

If you deleted the startup disk and have no backup, stop using the computer immediately. Every write to the drive can overwrite the deleted data. Use a different computer to download data recovery software (like TestDisk, PhotoRec, or commercial tools) and create a bootable USB. Then boot from that USB and scan the drive. Recovered files can be saved to an external drive.

Important: Data recovery software works best on HDDs. On SSDs, the TRIM command may permanently erase data soon after deletion, making recovery impossible. If you have an SSD and deleted the startup disk, your chances of recovering files are very low.

How to Reinstall the Operating System

After you have recovered what you can (or if you have a backup), you need to recreate the startup disk:

  • Mac: In macOS Recovery, choose Reinstall macOS. You may need to erase the disk first (using Disk Utility) if it is not formatted correctly. The installer will download the OS and create a new boot volume.
  • Windows: Boot from a Windows installation USB, select the unallocated space, and click Next. Windows will format the drive and install the OS automatically.

After installation, restore your files from backup. If you did not have a backup, you will need to rely on the data recovery step above.

Preventing Future Accidental Deletion

To avoid this situation again, consider these practices:

  • Always verify the drive name and size before erasing or formatting.
  • Use Time Machine (Mac) or File History (Windows) for regular backups.
  • Create a bootable recovery USB and keep it in a safe place.
  • Label external drives clearly to avoid confusion.

Frequently Asked Questions

Can I recover a deleted startup disk without a backup?

Yes, but only if the data has not been overwritten. Use data recovery software immediately, and do not write anything to the disk. For SSDs, recovery is often impossible due to TRIM.

What does a flashing question mark on a Mac mean?

It means the Mac cannot find a startup disk. This can be due to a deleted disk, a disconnected drive, or a corrupted boot loader. Enter macOS Recovery and check Disk Utility.

Will reinstalling macOS delete my files?

If you choose “Reinstall macOS” without erasing the disk, your files may remain. However, if the disk was deleted, you must erase it first, which will delete everything. Always back up first.

How do I know if my SSD data is recoverable?

If the SSD has been used after deletion, TRIM likely erased the data blocks. If the deletion was recent and the drive has not been used, there is a small chance. Professional recovery may be needed, but it is expensive and not always successful.

Can I use a Time Machine backup to restore the startup disk?

Yes. In macOS Recovery, you can use “Restore from Time Machine Backup” to restore the entire system to the backup date. This will recreate the startup disk with your files.

What if my disk is not visible in Disk Utility or Disk Management?

Check physical connections (SATA cable, power, or USB). If it is an internal drive, try reseating it. If still not visible, the drive may be dead, and you should consult a professional data recovery service.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →