-
-
Save taiansu/0417507ccf0a9d0c8ce3cf56c02c99be to your computer and use it in GitHub Desktop.
Revisions
-
scottopell renamed this gist
Dec 25, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
scottopell revised this gist
Dec 25, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,9 +4,9 @@ with exFAT formatting will randomly get corrupted. Disk Utility is unable to repair this at first, but the fix is this: 1. Use `diskutil list` to find the right drive id. 1. You want the id under the IDENTIFIER column, it should look like `disk1s1` 2. Run `sudo fsck_exfat -d <id from above>`. eg `sudo fsck_exfat -d disk1s3` 1. `-d` is debug so you'll see all your files output as they're processed. 3. Answer `YES` if it gives you the prompt `Main boot region needs to be updated. Yes/No?` 4. Open Disk Utility and you should be able to repair here successfully. -
scottopell created this gist
Dec 25, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ exFAT support on macOS seems to have some bugs because my external drives with exFAT formatting will randomly get corrupted. Disk Utility is unable to repair this at first, but the fix is this: 1. Use `diskutil list` to find the right drive id. a. You want the id under the IDENTIFIER column, it should look like `disk1s1` 2. Run `sudo fsck_exfat -d <id from above>`. eg `sudo fsck_exfat -d disk1s3` a. `-d` is debug so you'll see all your files output as they're processed. 3. Answer `YES` if it gives you the prompt `Main boot region needs to be updated. Yes/No?` 4. Open Disk Utility and you should be able to repair here successfully. See the apple man page below for details on the `fsck_exfat` utility. Sources/Extra Reading: https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man8/fsck_exfat.8.html https://craigsmith.id.au/2014/07/06/repairing-a-corrupted-mac-osx-exfat-partition/ https://discussions.apple.com/thread/4154638?tstart=0