Remember to substitute the path with the one that applies to your device. Perform only one of the following options, depending on whether you want mMBR or gpt. If you are looking for any other partition table type, you have to look further on other sources. There are two main of partition table types, and both are covered in this post: This is not my case, so I had to add the following step. In some other tutorials I have read, it considers there are partitions below “sdX” (like sdX1). When it finished, if I run a lsblk, I only see device “sdX” without any other partition. For me, it took more than an hour for a 16 GB USB from a laptop from 2010. Remember substitute the path by the one that corresponds to you. Use another command to delete all content on device. In this post, I write “sdX” and “sdX0″ whenever I make reference to device and partition, respectively.Īn alternative to lsblk command would be: In my case, device was “sdb” and partition “sdb1″. Identify path of mounted unitīefore plugging the USB flash drive, check the devices in your system by using this command in terminal:įirst level of hierarchy represents devices, and second level represents the partitions inside that device. Instructionsĭetailed steps to solve issue below. This is why I use GNU/Linux to fix this issue.
Some OS, like Windows or MacOS X, seem to not react when USB is plugged. In any case, we would like to fix our USB to avoid loosing a valuable storage device. Sometimes USB memory sticks just become unreadable, probably because we have remove it from the port before unmount it or because we had to force to stop a process that was operating with it.