On Thu 27 Jan 2022 at 16:58:01 (-0600), Martin McCormick wrote: > Charles Curley <[email protected]> writes: > > I'm no expert on RPis, but that sounds to me like the SD card is > > protected against writes. Check for any physical write protection > > switches on the card itself and the holder. > > Thanks for the suggestion, but this is one of those SSD cards > that often is found in a camera and resembles a wafer the size of > a thumbnail. It has a projection that acts as a key way to keep > a user from inserting it in the wrong way and there is a groove > for a fingernail to help pull the chip out of the socket. This > particular one was reading and writing just fine until I bricked > it by the DD that must have overwritten some address which now > makes it unwritable. It went from good to bad without my > removing it from the card reader so there should be some way to > at least clear it for writing again. > > Apparently, it stops being writable if the partition > table is corrupted. In my case, I just want to delete both > partitions and start over. > > The OS is debian Buster and has all the tools you can > expect to find and runs on a 64-bit ARM. Otherwise, it's pure > debian Linux.
I've not heard of that problem. You were prevented from zeroing the entire device, which would have wiped the partition table anyway. What I would want to check is that the OS isn't doing something stupid, like trying to automount it, failing, and consequently setting the device readonly. By OS, I really mean DEs, or automounters in general. You could also try zeroing it in another machine, ± any adapters required. (Bear in mind that adapters do have readonly sliders.) Cheers, David.

