0

I was creating a boot for macOS Mojave on my USB flash drive. The transfer of OS the transfer stopped suddenly, I waited for a few minutes and then ejected it.

After this when I reinserted I was unable to format it, it went to read-only mode. Currently, it's in ExFat Format.

I have tried formatting it in Disk Utility even in the terminal and it didn’t work.

I tried with this command:

diskutil eraseDisk JHFS+ Backup /dev/disk2

Screenshot of the info for the USB flash drive

Giacomo1968
  • 53,069
  • 19
  • 162
  • 212
  • This line confuses me: “The transfer of OS halted and I ejected the USB flash drive in the middle.” So did the transfer suddenly stop and then you ejected it? Or something else. – Giacomo1968 Jul 17 '22 at 04:15
  • 1
    Yes, the transfer stopped suddenly. I waited for a few minutes and then ejected it. – izzarzn Jul 18 '22 at 17:45
  • Sad to say that most likely the USB flash drive itself is dead. – Giacomo1968 Jul 18 '22 at 19:41

0 Answers0