Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save epicfaace/cb2aec76a7b8fac79c46087fd6d8cbac to your computer and use it in GitHub Desktop.
Save epicfaace/cb2aec76a7b8fac79c46087fd6d8cbac to your computer and use it in GitHub Desktop.
mac unmount unreadable disk
diskutil list
diskutil unmountDisk force /dev/DRIVENAME
diskutil eraseDisk FAT32 NEWNAME /dev/DRIVENAME
@epicfaace
Copy link
Author

big sur install from bootable usb:

softwareupdate --fetch-full-installer

https://support.apple.com/en-us/HT201372

@epicfaace
Copy link
Author

epicfaace commented May 27, 2021

diskutil unmountDisk force /dev/disk2
diskutil eraseDisk HFS+ NEWNAME /dev/disk2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment