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

Tashreef Shareef
by Tashreef Shareef
Windows & Software Expert
Tashreef Shareef is a software developer turned tech writer. He discovered his interest in technology after reading a tech magazine accidentally. Now he writes about everything tech from Windows to iOS and streaming services... Read more
Affiliate Disclosure
  • 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
To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

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. 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.


Best USB power bank for Raspberry Pi [2020 Guide]


2. 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.



This article covers:Topics:

Frequently Asked Questions

  • To check your storage on your Raspberry Pi, open the command line, type the command df -h , and then press Enter.

  • The most common reasons for SD cards getting corrupted are removing the card while it was formatting/copying data/transferring data, or a persistent usage of the card while almost at full storage capacity.

  • The best way to protect your SD card on Raspberry Pi is to use Full Disk Encryption on the card used to boot on your device.

There are no comments yet. Please leave a comment

add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *