Home > Questions

Disk is not readable and Disk Utility can't erase it, help!

I'm trying to reformat a USB thumb drive that I'd previously been using as a Linux boot device. When I insert the drive, I get a warning that it's not readable. So I click Initialize... which launches Disk Utility. When I try to erase the drive, I get the error Couldn't modify partition map. There's no write-protect switch on the thumb drive. How can I fix this?

Best Answered by

iBoysoft author Amanda Wong

Amanda Wong

Answered on Tuesday, January 27, 2026

When you receive the error Couldn't modify partition map while erasing the drive with Mac's Disk Utility, you can repair the drive and try to erase the drive again in multiple ways.

"The disk you inserted was not readable by this computer" won't let you access the drive data. As you said the USB drive was used as a Linux boot device, the file system could be incompatible with macOS or some other reasons make the error message pop up. However, Disk Utility won't let you erase hard drive and returns the "couldn't modify partition map" error, then the USB drive should be corrupted.

What you should do is repair the USB hard drive:

  • Repair the drive with Disk Utility's First Aid.
  • Repair the drive via Terminal commands diskutil list(check the disk number)and diskutil repairDisk diskN(replace N with the disk number).
  • Access Disk Utility in macOS Recovery Mode.

Now, try to erase the external drive connected to Mac again:

  • Format the drive in macOS Recovery Mode.
  • Erase the disk in the Terminal after booting into macOS Recovery Mode with commands diskutil list and diskutil eraseDisk File_System Disk_Name /dev/disk[disk number]
  • Erase the drive with Safe Mode.

People Also Ask

Read More Questions

Read More Advice From iBoysoft's Computer Experts

Fix Mac error code 100006

11 Ways to Fix Error Code 100006 on Mac with External drive

Here, we explain what 'The operation can't be completed because an unexpected error occurred (error code 100006)' is, what may cause error 100006, and 11 ways to fix it.

Boot your Mac in Safe Mode

How to Boot Your Mac in Safe Mode to Diagnose & Fix Issues

Boot your Mac in Safe Mode, and use Safe Mode to fix your Mac problems. Also, offer solutions for fixing Mac Safe Mode that's not working.