Skip to content

Instantly share code, notes, and snippets.

View cryptonobo's full-sized avatar
I may be slow to respond.

cryptonobo cryptonobo

I may be slow to respond.
View GitHub Profile
@cryptonobo
cryptonobo / fix_OS_drive.md
Last active November 4, 2019 17:37 — forked from scottopell/fix_exfat_drive.md
Recover a hard drive that is no longer recognized by mac os

Recover a hard drive that is no longer recognized by mac os

if Disk Utility is unable to repair this at first, try this:

  1. Use diskutil list to find the right drive id.
  2. You want the id under the IDENTIFIER column, it should look like disk1s1
  3. Run sudo fsck_exfat -d <id from above>. eg sudo fsck_exfat -d disk1s3
  4. -d is debug so you'll see all your files output as they're processed.
  5. Answer YES if it gives you the prompt Main boot region needs to be updated. Yes/No?
  6. Open Disk Utility and you should be able to repair here successfully.