0

I'm trying to format a 64gb pen drive that turned readonly after failing to move a larger video file using gparted but it keeps failing due to the pen drive being in readonly. (just installed Ubuntu for this). Doing sudo hdparm -r0 /dev/sdb returns:

setting readonly to 0 (off)
readonly     = 1 (on)

Is there any other way to turn off readonly? I also tried a bunch of other hdparm commands but they usually return: "no such file or directory"

sotirov
  • 3,169
GabOZN
  • 1

1 Answers1

0

It's read only because it's dead.

Commonly flash memory devices fails to read only to ensure you can at least get data back. This is corroborated by the fact that it happened during copying files.

Copy what you need from it. Then get a new one. You can check with the vendor if they offer a warranty replacement.

vidarlo
  • 22,691