[Solved] Disk Utility Stuck on Wait Partition Activate
Fix corrupted exFAT disk macOS/OSX
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:
diskutil listto find the right drive id.
- You want the id under the IDENTIFIER column, it should look like
sudo fsck_exfat -d <id from above>. eg
sudo fsck_exfat -d disk1s3
-dis debug so you’ll see all your files output as they’re processed.
YESif it gives you the prompt
Main boot region needs to be updated. Yes/No?
- Open Disk Utility and you should be able to repair here successfully.
See the apple man page for details on the fsck_exfat utility.
Error : Can’t open /dev/rdisk2s2: Resource Busy
If you got an error saying “Can’t open /dev/rdisk2s2: Resource Busy”. Then, you need to kill the process which keeping the disk busy. Here are the steps.
- Know the process ID which kepping the disk busy.
ps -ax | grep rdisk2s2 12686 ?? 10:42.83 /System/Library/Filesystems/hfs.fs/Contents/Resources/./fsck_hfs -y /dev/rdisk2s2
- Terminate the unwanted process like this.
sudo kill 12686
Sources & Extra Reading: