I am on Ubuntu 18.04. I was trying to transfer files using my pendrive , which I previously used to install Ubuntu on my laptop. But later formatted using Android phone.
When I was trying to transfer files (some videos) it got stuck, so I removed the pendrive from USB slot. And then tried to format it using Android phone.
But now the phone could not format it. And when inserted in Ubuntu it showed :
Unable to access "device" error mounting /dev/sdb2 at media/pc_name/pendrive_name : wrong fs type, bad option, bad superblock on /dev/sdb2, missing codepage or helper program , or other error.
How can I repair my USB?