1

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.

marked as duplicate by Stephen Kitt, Jeff Schaller, G-Man, Eric Renouf, Archemar Jun 9 '17 at 4:57

This question was marked as an exact duplicate of an existing question.

5

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

sudo touch /forcefsck

This will force a check on the next boot.

  • 2
    Doesn't seem to work on Bionic... :-| – nkkollaw May 13 '18 at 4:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.