3

In Ubuntu and derivatives (specifically Linux Mint 17.2), is there a setting in a config file somewhere to run "fsck -y" on boot?

I lost power, and the computer successfully rebooted, but I just want to run fsck to take care of any potential issues before they actually cause trouble.

Stephen Kitt
  • 411,918
  • 54
  • 1,065
  • 1,164
Jerry Huckins
  • 143
  • 1
  • 6

1 Answers1

7

Not in a configuration file; just drop a forcefsck file in /:

sudo touch /forcefsck

This will force a check on the next boot.

Stephen Kitt
  • 411,918
  • 54
  • 1,065
  • 1,164