[Solved] Disk Utility Stuck on Wait Partition Activate
ยท
196 words
ยท
1 minute read
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:
- Use
diskutil list
to find the right drive id. - You want the id under the IDENTIFIER column, it should look like
disk1s1
- Run
sudo fsck_exfat -d <id from above>
. egsudo fsck_exfat -d disk1s3
-d
is debug so you’ll see all your files output as they’re processed.- Answer
YES
if it gives you the promptMain 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: