Home > Questions

Disk Utility can't repair and erase USB drive, Windows displays it as RAW and locked!

I recently bought an 8 GB PC USB flash drive. One time after moving some files I pulled out the USB without ejecting it. Since then it only shows up in disk utility and I can't repair it or erase it. I don't have any valuable data on it, but it doesn't work. It has suddenly changed to RAW format and is 'write protected' according to windows when I tried to format it with Windows 7. Any help or suggestions would be greatly appreciated.

Best Answered by

iBoysoft author Amanda Wong

Amanda Wong

Answered on Monday, February 19, 2024

When you fail to repair and erase the USB drive in Disk Utility, you can also try other ways to reformat it, including FSCK and Terminal. On Windows, you can use the CHKDSK command, unlock the USB drive, and reformat it.

You are unlikely to get the error notice "macOS can't repair this disk" in simple disk repair circumstances. Only when a disk problem or damage is too severe for Disk Utility First Aid to fix does the error message display. Examples of such problems include a dead hard drive and file system corruption. As Apple suggests, you can try to run First Aid to repair the USB drive again. Also, you can try FSCK in Single User Mode to repair the drive.

If the USB flash drive still can't be repaired, you should make sure the USB flash drive is mounted in Disk Utility, when the USB flash drive is not mounting on Mac, you can't format it. Try to manually select the USB flash drive and click the Mount button.

Unluckily, you can't reformat the USB flash drive on Mac even if it is mounted, try the methods below to get it solved:

  • Change permission on Mac if you can only read the USB flash drive.
  • Erase selected volumes instead of the whole drive.
  • Erase the USB drive with Terminal commands diskutil list and diskutil eraseDisk APFS device node.
  • Erase the USB flash drive in macOS Recovery Mode.
  • Reboot the Mac into Safe Mode.
  • Delete the partition.

RAW file format could be caused by improper ejection, you can also try the CHKDSK command on Windows and reformat the USB drive in Disk Management and via Diskpart.

People Also Ask

Read More Questions

Read More Advice From iBoysoft's Computer Experts

discos externos não montados no Mac

Disco Rígido Externo Não Montando no Mac, Como Resolver?

Tutorial para resolver disco rígido externo não montando no Mac e recuperar dados do disco rígido externo desmontado.

recuperacion de datos mac

What to do if you cannot delete files from external hard drive on Mac

Fix: Can't Delete Files from External Hard Drive on Mac

Can't delete files from external hard drive on Mac? Here're why and 10 ways to fix it. You can also learn how to (permanently) delete files or erase data on the external hard drive.

NTFS for Mac Tips

Como criar um USB bootável do Windows 10 no Mac

Como criar um USB inicializável do Windows 10 no Mac?

Ele descreve três maneiras de criar um USB inicializável do Windows 10 no Mac, incluindo Utilitário de Disco, Assistente BootCamp e Terminal.