Score:0

Turn off read-only pen drive

fj flag

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"

waltinator avatar
it flag
`sudo umount /dev/sdb` before you try to format it.
sudodus avatar
jp flag
It looks like your pendrive's hardware is damaged, but you can analyze the problem according to [this link](https://askubuntu.com/questions/144852/cant-format-my-usb-drive-i-have-already-tried-with-mkdosfs-and-gparted/933035#933035) and if you are lucky, find a solution.
Score:0
om flag

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.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.