Skip to main content
3 of 4
windows style example
nohillside
  • 104.5k
  • 42
  • 222
  • 275

Get drive name

diskutil list

then try

diskutil unmountDisk force /dev/DRIVENAME

Then format

diskutil eraseDisk JHFS+ Emptied /dev/DRIVENAME

or

diskutil eraseDisk FAT32 Emptied /dev/DRIVENAME
salhin
  • 481
  • 5
  • 7