Is Raspberry Pi causing fsck errors? Fix it in 3 easy steps

Reading time icon 4 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • If Raspberry Pi is causing fsck errors, this guide will help you troubleshoot it step by step.
  • To start resolving this issue, use the Windows USB troubleshooter or run the dsofsck command on Linux.
  • Check out our extensive Developer Tools Hub for more related information.
  • To ensure you'll be always ready for any Raspberry Pi problem, bookmark our useful Raspberry Pi Errors webpage.
Fsck Raspberry Pi error

If you are using a USB drive or SD card to boot your Raspberry Pi, you may encounter the fsck error. Several users have reported the Raspberri Pi causing fsck error resulting in a corrupted SD card.

I have experienced several instances of data corruption on the SD card on my Pi. I am still investigating the root cause of this. At the moment to correct filesystem errors I shut down the pi and put the card into my laptop to fsck the root filesystem.

To avoid USB or SD card corruption make sure you use a USB power hub to connect your USB flash drives. If your boot SD or USB drive is corrupted, try fixing the drives by following the steps in the article below.

How do I fix Raspberry Pi causing fsck errors?

1. Use trusted third-party PC software

Fsck errors and other similar issues can lead to system malfunctioning and affect your files. Installing the latest drivers will prevent these problems and help your hardware to function properly.

For an in-depth diagnosis and an effective solution, we recommend installing a PC repair tool that keeps all of your PC driver software healthy and recovers important files that have been damaged during the process.

With a simple click, this type of tool can scan external memory devices such as SD cards and USB ports and enables you to protect specific files and folders by retaining metadata in case of unintended deletions.

โ‡’ Get Disk Drill

2. Fix the SD card using a Windows computer

Raspberry Pi causing fsck errors
  1. Remove the SD card from the Raspberry Pi slot.
  2. Connect it to a Windows computer. Since the process won’t take more than a couple of minutes, borrow a Windows system if you don’t have one yourself.
  3. Once connected to your Windows computer, the PC will automatically detect that there is a problem with the card.
  4. When the Do you want to scan and fix Removable Disk dialog appears, click on Scan and fix.
  5. Wait for Windows to scan the drive for errors and fix them.
  6. Once fixed, eject the SD card and insert it into your Raspberry Pi device.
  7. Reboot the device and check if the error is resolved.

Using a Windows computer to fix the SD card issue is a much simpler solution than using the Ubunto terminal commands. However, if the issue persists and Windows fails to fix the drives, proceed with the next set of steps.

3. Use Linux terminal to repair the drive

Raspberry Pi causing fsck errors
  1. Eject the SD card or USB drive from your Raspberry Pi.
  2. Connect it to a Linux system using a card reader or USB port.
  3. Press Ctrl + Alt + T in Ubuntu to open the terminal.
  4. Type mount and hit enter to find your pen drive or SD card letter.
  5. Type the following command and hit enter. Make sure to replace the sdc1 in the below command with the pen drive or SD card letter applicable to your drive.
    sudo dosfsck -w -r -l -a -v -t /dev/sdc1
  6. The dosfsck will scan the drive for errors and fix them.
  7. Once finished, eject the SD card and insert it into Raspberry Pi to see if the error is resolved.

In the above command:

  • -w means write to disk immediately.
  • -r run the performs disk check interactively.
  • -l means to list the filename processed.
  • -a asks the tool to fix any errors if found.
  • -v means verbose mode.
  • -t means mark unreadable cluster. You can skip the -t switch if the scanning and repairing process is taking too much time.

The Raspberry Pi can cause fsck error if the boot drive that is your SD card is corrupted. The error can be fixed using the Windows USB drive troubleshooter or using the dosfsck tool in Linux.

Follow the steps in the article and let us know which method helped you resolve the issue in the comments.

More about the topics: Raspberry Pi errors