Erase bootable linux USB
Any ideas how to bring back to life 64gb usb drive after unsuccessful erase. It was a bootable kali linux usb drive with two partitions. First I used disk utility to simply erase the whole usb drive(not partition) but during the process after "creating the partition map" having this error: "Couldn't open device.: -69877"
Same thing with the terminal:
diskutil eraseDisk free EMPTY /dev/disk2
Started erase on disk2
Unmounting disk
Creating the partition map
Error: -69877: Couldn't open device
+
diskutil eraseDisk ExFAT USB64 /dev/disk2
Started erase on disk2
Unmounting disk
Creating the partition map
Error: -69877: Couldn't open device
At this moment this is what diskutil list shows me about the drive:
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: *62.9 GB disk2
and that is what the osx disk utility shows:
MacBook Pro 13″