Score:0

wipe usb drive - read only error

ge flag

I have an usb drive of 8gb and I tried to wipe it in all the way

dd mkusb mkfs gparted utility disk

windows diskpart

mac utility disk diskutil erase

anytime i get "read only permission denied". obviusly i tried to set permission on it but nothing changed

is there anyone with an idea or a great working suggestion ?

thanks

ru flag
Is the USB drive a drive that has a write-protection switch on it, or no? If the answer is no, then I would surmise the USB drive is broken and nonfunctional, because it likely can't be properly read/written to and is causing errors.
karel avatar
sa flag
Does this answer your question? [How to recover USB flash drive functionality after having used dd?](https://askubuntu.com/questions/1044056/how-to-recover-usb-flash-drive-functionality-after-having-used-dd)
lp14190 avatar
ge flag
sudo parted /dev/sdb mklabel msdos Warning: Unable to open /dev/sdb read-write (Read-only file system). /dev/sdb has been opened read-only. Warning: Partition(s) on /dev/sdb are being used. Ignore/Cancel? I Warning: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you want to continue? Yes/No? Y Error: Can't write to /dev/sdb, because it is opened read-only. Ignore/Cancel? I
Score:0
cn flag

I agree with @ThomasWard -- with the cost of thumb drives today, it's not worth spending much time on it. If there was sensitive data on the drive, you might want to get a hammer or similar and physically destroy the drive (including the Flash RAM package on the circuit board inside) to ensure it can't be read, as well as not being able to be written, but otherwise, it's not worth your time to try to deal with it.

lp14190 avatar
ge flag
yes sure maybe is waste time, but i can learn something ..anyway it happend while i was writing a big iso to the usb with "iso to usb" windows software, and in that while system crash and i removed the drive, after that moment i had the error
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.