Raspberry Pi Zero 2 W – Repeated EXT4 Errors

Hello everyone,

I am using a Raspberry Pi Zero 2 W (512 MB RAM) with Raspberry Pi OS 64-bit Desktop on a 32 GB microSD card. While installing libraries for my YOLO11n and OpenCV project, I encountered repeated EXT4 filesystem errors, including directory checksum failures, Bad message, and Delayed block allocation failed.

I reinstalled the OS and tried filesystem recovery settings, but the errors persist. The Pi boots to the desktop, storage space is available, and vcgencmd get_throttled returns 0x0. Wi-Fi is also not working.

Could someone please guide me on how to safely check whether the problem is caused by filesystem corruption, a faulty microSD card, or a hardware/power issue? Should I test the card on Windows before reinstalling the OS?

I am a beginner, so step-by-step guidance would be appreciated.

Thank you.