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?

  • 1
    Did you use dd to create an installer from an ISO. That does not use standard partition table and you then should just need to zero MBR & partition table. 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.
    – oldfred
    Commented Apr 9, 2015 at 23:04
  • No i haven't. I don't know how to do that. But the dd command you gave gives that: dd: error writing ‘/dev/sdb’: Input/output error 1+0 records in 0+0 records out 0 bytes (0 B) copied, 0.00189173 s, 0.0 kB/s | Disks app sees the drive size though
    – user240891
    Commented Apr 10, 2015 at 10:38
  • Now system is not even seeing flash drive in any writable mode. Not sure what else to suggest Several links to similar issues in related in right panel, but I have not had issue.
    – oldfred
    Commented Apr 10, 2015 at 15:12

1 Answer 1


Return The USB thumb drive to the store and ask for a swap if it's still under warranty (check the manufacturer's web site) as it looks like it's dead now...

Sorry to be the harbinger of bad news...

  • I could figure that I should swap it on my own as soon as I'm sure its unfixable. The question is when one is sure about that?
    – user240891
    Commented Apr 13, 2015 at 12:55
  • If writing 512 bytes with sudo dd if=/dev/zero of=/dev/sdb bs=512 count=1 doesn't work, you're 99.9999% sure! 30+ years of experience with computers tell me your USB drive is hosed... :-( And don't forget to click the little grey ☑ before you run to the store before the warranty expires...
    – Fabby
    Commented Apr 14, 2015 at 13:30
  • Thank you! The store is in China though :)
    – user240891
    Commented Apr 14, 2015 at 18:53
  • Your home countries warranty laws still apply! So check your local laws...
    – Fabby
    Commented Apr 15, 2015 at 7:07
  • It doesn't. It was ordered over the internet from China. My country has nothing to do with it and will never do anything about it.
    – user240891
    Commented Apr 15, 2015 at 14:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .