Got a new and fancy USB 3.0 32gb thumb drive. Yay! It seemed to work the first couple days but now Disks gives this error
Error creating file system: Command-line `parted --script "/dev/sdb" mktable msdos' exited with non-zero exit status 1: Error: Input/output error during read on /dev/sdb Error: Input/output error during read on /dev/sdb Error: Input/output error during write on /dev/sdb (udisks-error-quark, 0)
Gparted gives this
Input/output error during read on /dev/sdb
and this command hangs in the terminal for without any output for more than an hour and makes my pc run slow (cancelled it after an hour)
sudo dd if=/dev/zero of=/dev/sdb bs=1M
So, is there hope for my sexy thumb drive or should I cry tonight?
sudo dd if=/dev/zero of=/dev/sdX bs=512 count=1
of course change sdX to correct drive and always double check you have correct drive. dd can be dangerous as there is no undo or recovery.