Skip to content

Instantly share code, notes, and snippets.

@well-it-wasnt-me
Last active December 24, 2023 14:30
Show Gist options
  • Save well-it-wasnt-me/6eb264e1a9bf0dd9ccadb4e839e4ebfe to your computer and use it in GitHub Desktop.
Save well-it-wasnt-me/6eb264e1a9bf0dd9ccadb4e839e4ebfe to your computer and use it in GitHub Desktop.
How to format usb drive that MacOS cannot read. In macOS

Let's see the attached usb drive

$ sudo diskutil list

Now, from the list, note the usb drive name and path

$ sudo diskutil eraseDisk FAT32 NAME MBRFormat /dev/diskX

Your usb drive is usable again

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