If you are using a USB or SD card to boot up the Raspberry Pi, you may encounter fsck error. Some users have reported Raspberry causing fsck error which resulted in broken SD card.
To avoid damaging the USB or SD card, make sure you use a USB power adapter to connect the USB flash drive. If the USB or SD drive used for your boot is damaged, try to fix these errors by following the steps in the article below.
Using a Windows computer to troubleshoot an SD card is a much simpler solution than using Ubuntu terminal commands. However, if the problem persists and Windows cannot fix it, move on to the next steps.
Raspberry Pi can cause fsck errors if the boot drive is your SD card corrupted. The error can be fixed using Windows USB drive troubleshooter or using the dosfsck tool in Linux.