That sounds a lot like a counterfeit SD card, although you'd need to do a bit of testing to be sure of it. One style of counterfeit is to put a fake size on a smaller card, programming the card with false size information. It will seem to work at first, until you write beyond the real size of the card. The imager will write a new OS image at the start of the card, so will work if the real card size is sufficient for the OS, but the running OS will write more randomly across the entire allocated space.
You can test the card from a working Pi (or other Linux system) by sticking it into a USB card adapter, and using the "f3" package to test it.
https://fight-flash-fraud.readthedocs.io/
You can test the card from a working Pi (or other Linux system) by sticking it into a USB card adapter, and using the "f3" package to test it.
https://fight-flash-fraud.readthedocs.io/
Statistics: Posted by Murph9000 — Wed Sep 04, 2024 1:32 pm