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, April 29, 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

Time Machineがローカルスナップショットを作成できない

エラー「タイムマシンはローカルスナップショットを作成できませんでした」[修正]

Time MachineでMacをバックアップしようとしたが、「タイムマシンはローカルスナップショットを作成できず、バックアップ元として使用できません」というエラーが表示されましたか?この問題を解決するために確実な2つの方法を学びましょう。

cómo comprimir un JPEG en Mac

Cómo comprimir un archivo JPEG en Mac sin perder calidad?

Lee para saber cómo comprimir imágenes JPEG en Mac de 4 maneras, incluyendo el uso de iBoysoft MagicMenu, Vista Previa de macOS, Fotos de macOS y un compresor de imágenes en línea.

Ist es möglich, eine ReFS-Festplatte auf einem Mac zu lesen

Können Sie eine ReFS-Festplatte auf einem Mac lesen?

ReFS ist ein Windows-eigenes Dateisystem, das nur auf bestimmten Windows-Versionen lesbar ist. Dieser Artikel bricht mit der Norm und zeigt Ihnen, wie Sie ReFS-Volumes auf einem Mac mit macOS Sonoma, Ventura usw. lesen können.