Introduction
When your Mac refuses to boot — stuck on the Apple logo, restarting endlessly, or showing a flashing folder with a question mark — it usually means the operating system (macOS) has become corrupted. The good news? Your data is often still safe. In this guide, we’ll walk you through proven ways to recover files before reinstalling or repairing macOS.
Step 1: Recognize the Signs of a Corrupt macOS
- Boot loops or repeated restarts.
- Stuck at the Apple logo with a progress bar.
- Booting into Recovery but not reaching the desktop.
- Messages like “macOS could not be installed on your computer.”
These errors typically indicate a software issue, not necessarily hardware failure.
Step 2: Try Safe Boot or Recovery Mode
Safe Mode
Hold Shift during startup to boot with minimal extensions.
Recovery Mode
- Intel Macs: Hold ⌘ + R at startup.
- Apple Silicon Macs: Hold the power button until you see Options.
From Recovery Mode you can run Disk Utility → First Aid, reinstall macOS, or use Terminal.
Step 3: Use Target Disk Mode to Access Files
If the Mac still powers on, Intel Macs support Target Disk Mode:
- Connect the Mac to another Mac using a USB-C/Thunderbolt cable.
- Start the broken Mac while holding T.
- Its drive should appear on the working Mac as an external volume.
From there, you can copy files to an external hard drive.
⚠️ If the disk asks for a password, that means FileVault encryption is enabled. Use the account password to unlock it.
Step 4: Copy Data with Terminal in Recovery Mode
If Finder won’t mount the disk, Terminal can help:
cp -R command
cp -R /Volumes/Macintosh\ HD/Users/username /Volumes/ExternalDrive/
rsync command
rsync -av --progress /Volumes/Macintosh\ HD/Users/username /Volumes/ExternalDrive/
Step 5: Try an External Enclosure
If the Mac won’t power on, but the SSD is removable:
- Remove the drive.
- Place it into a USB/Thunderbolt enclosure.
- Connect it to another Mac or PC to recover data.
(Note: Many modern Macs have soldered SSDs — in these cases, only professional tools can help.)
Step 6: Reinstall macOS Without Erasing Data
Once files are secure, you can attempt a reinstall:
- Boot into Recovery.
- Select Reinstall macOS.
- Choose your startup disk and proceed.
This overwrites the OS while keeping user files intact.
⚠️ If you see “Not enough free space,” you may need to delete cache/log files from Terminal before reinstalling.
Step 7: When to Call a Professional
Contact a professional if:
- The drive is encrypted with a forgotten password.
- Disk Utility First Aid fails repeatedly.
- Hardware errors are reported.
- The SSD is soldered to the motherboard.
Conclusion
A corrupt macOS doesn’t mean lost files. With the right tools — Target Disk Mode, Recovery Mode, Terminal, or an external enclosure — you can often save critical data before reinstalling macOS. If DIY recovery doesn’t work, professionals can still extract your files safely.
Call to Action
At BYOD Computer Services in Los Angeles, we specialize in Mac data recovery, including cases where the operating system is corrupt or the computer won’t boot. Contact us today for a free consultation and let us help you get your files back.