I have a MicroSD card in a USB adapter (which plugs into a USB port on my machine, and acts like a USB flash drive). I was using Unetbootin to make this a bootable USB flash drive with Kubuntu. But I needed to cancel while it was working. So I killed the Unetbootin process from the console.
Since then, I can't format the MicroSD or delete the folder that Kubuntu made. I have also tried
mkdosfs, with no success. I can't mount the drive anymore either? What can I do to make this drive usable again?
Trying to create a new partition table in GParted, as described in Eliah Kagan's answer, does not work. It fails with the error message "imposible crear tabla de particiones" ("unable to create a partition table").