Skip to content

Скептична яма за идеи

и други бележки към мене си

  • начало
  • tech
  • блог
  • здраве
  • приключения
  • ядене
  • бизнес
  • деца
  • Кой?

Fixing a broken USB memory

Posted on 2021.12.21 by vloo

I had this one old flash card that could neither be mounted, nor be formatted, trying it both on Windows and Linux, including GParted, Disks and a few other applications in the battle. An error message I was getting every time when trying to format it was this:

Error synchronizing after initial wipe: Timed out waiting for object (udisks-error-quark, 0)

At the same time the dongle was still alive, as I could see a diode blinking upon plugging it to the computer, and lsusb listed it as a valid USB device.

Digging around I ended up trying the following command, which in effect set 0 to every bit on the flash memory:

sudo dd if=/dev/zero of=/dev/sdc

/dev/sdc is the device, corresponding to the flash memory. One of the places it could be seen is in GParted. There are better ways but I can’t be bothered to check for them right now.

The process took more than an hour for a 8Gb of space, but after that I was able to format it and start using it as if nothing happened.

Posted in tech

Post navigation

A few less known tricks with WP-CLI
Removing language switcher from wp-login.php

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Proudly powered by WordPress | Theme: micro, developed by DevriX.