Created
May 20, 2021 19:50
-
-
Save epicfaace/cb2aec76a7b8fac79c46087fd6d8cbac to your computer and use it in GitHub Desktop.
mac unmount unreadable disk
This file contains 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 characters
diskutil list | |
diskutil unmountDisk force /dev/DRIVENAME | |
diskutil eraseDisk FAT32 NEWNAME /dev/DRIVENAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
diskutil unmountDisk force /dev/disk2
diskutil eraseDisk HFS+ NEWNAME /dev/disk2