I installed Raspberry Pi OS on an old microSD card I had, which I put in my new Raspberry Pi 4 (8GB RAM). Today, I tried to (safely) overclock the system. However, when I rebooted the system, I got an error message. Since the Pi started to get hot, I unplugged its power cord. I then tried to reinstall the OS on the SD card, but now Windows won't recognize when I plug the drive in. Is there some way to fix the microSD card, or is it completely broken?
For reference, when I put the SD card in my phone, it recognizes it, just not on the Windows desktop. I've tried to reset the microSD card on my phone then program it on my Windows. At first, this seems to work, but after the Raspberry Pi Imager writes to the drive, the computer stops recognizing the drive, and when I try to install the drive on the Raspberry Pi, it doesn't recognize that a drive has been plugged in.
fsck
on your SD card in an effort to diagnose/fix any corruption. However, you'll need a Linux system to do that.