What I did
I tried installing Debian on my USB stick, and it got stuck with an error in mid-process. Since then, I am not able to format the drive anymore or to mount it.
Apparently, the drive has no partitions and no partition table and nothing to work with.
What still works
When launching GParted, it sometimes still shows the correct last file system used with the (probably) correct amount of used space. I can still write it using raw commands like cp and dd (tested with cp and a Debian live .iso file)
What I tried
I tried all kind of checks, repairs and formatting operations on Windows and Linux with all kind of tools.
- Windows format: "Windows was unable to complete the formatting"
- Diskpart
clean
: "DiskPart has encountered an error: The system cannot find the file specified." - Disk Management: "The system cannot find the file specified."
- GParted system check: "/dev/sdc: ********** WARNING: Filesystem still has errors ********** e2fsck 1.43.5 (04-Aug-2017)e2fsck: No such device or address while trying to re-open /dev/sdc"
GParted format to ext4: "Create new ext4 file system 00:00:00 ( ERROR ) mkfs.ext4 -F -L "" /dev/sdb 00:00:00 ( ERROR ) mke2fs 1.43.4 (31-Jan-2017) The file /dev/sdb does not exist and no size was specified. libparted messages ( INFO ) Input/output error during write on /dev/sdb Input/output error during write on /dev/sdb Error fsyncing/closing /dev/sdb: Input/output error Error fsyncing/closing /dev/sdb: Input/output error"
I tried a lot of other tools but the didn't provide any useful error messages
dmesg
under Linux, likely you'll see USB errors, or the stick will disappear while writing to it.