Sometimes this can "unstick" a broken flash drive and allow it to work again. If you don't care about the contents of your drive, you can write zeros to it. Target /dev/sdb or wherever your drive is and pray that it works. You can potentially use photorec or other utilities to try to salvage any existing data off of the drive. If it is, your drive may need more advanced recovery techniques. Just for the sake of completeness, try to use a different computer and see if the behavior is the same. Remove the drive, reboot your machine, and re-insert the drive. This might just be a small temporary error. If you'd rather not give up hope yet, there are still some things you can try to do. Unfortunately, this most likely means that it's time to buy a new flash drive. Ubuntu should detect the drive and allow you to mount it.įrom your screenshot, it seems as though your drive is just toast and no longer works (note the No Media message). Mkfs.vfat -n 'pendrive-name' -I /dev/sdb1Īfter that you may eject the drive with sudo eject /dev/sdb When you see /dev/sdb (and its partition sdb1), run the following commands to format your drive umount /dev/sdb1 If it is, copy any data over that you'd like to save and format from that machine.įirst try to see your volumes by writing fdisk -l If you want to avoid data loss, try to see if the drive is recognizable from another machine. Then, click the Confirm button in the top menu.Īfter some time, your drive should have successfully formatted and you will be able to see the volume mount on Ubuntu. I'd recommend you use FAT32, but the choice is yours. From there, select the type of filesystem that you'd like to format the drive to. Right-click on that partition and go to the "Format To." option. Now, select your drive in GParted, and choose the partition that should appear. This solves some problems even though it seems unlikely in this case.Īfter finishing the reboot, open GParted and try to see if the drive (and the volume contained within) are visible.
of China Hungary India Indonesia Ireland Israel Italy Jamaica Japan Kuwait Latvia Lithuania Luxembourg Macao S.A.R.Okey, first reboot the computer.