ErrorFixDB Logo
← Back to Database

How to Fix fsck failed

Topic: Linux Ubuntu Boot Errors | Status: Updated

What is this error?

The "fsck failed" error in Linux Ubuntu typically indicates that the filesystem check (fsck) has detected a problem with the file system on your disk partition, which prevents the system from booting. This issue can arise due to various reasons, including improper shutdowns, disk errors, or hardware failures.

How to Fix It

  1. Reboot the System: Start by rebooting your computer. Sometimes, temporary errors can resolve themselves on a fresh start.
  2. Access Recovery Mode: During boot, hold the Shift key to access the GRUB menu. Select the Advanced options for Ubuntu and then choose a recovery mode entry.
  3. Select 'fsck': In the recovery menu, choose the fsck option. This will initiate a filesystem check on the root partition.
  4. Follow Prompts: If prompted to fix any errors, opt to "y" (yes) to repair the detected issues. Allow the process to complete.
  5. Resume Normal Boot: After fsck finishes, select the resume option from the recovery menu to continue booting your system normally.
  6. Check Disk Health: Once booted, consider checking the overall health of your disk using the smartctl command from the smartmontools package. Run sudo smartctl -a /dev/sdX, replacing sdX with your disk identifier.
  7. Backup Important Data: If issues persist, back up critical data immediately, as repeated fsck failures may indicate impending hardware failure.
  8. Reinstall the OS: As a last resort, if the problem continues unresolved, consider reinstalling Ubuntu to ensure a clean filesystem.
Disclaimer: This is an educational guide. We are not responsible for data loss. Always backup your system.