How to run "fsck -y" on next boot in Ubuntu
8,781
Not in a configuration file; just drop a forcefsck
file in /
:
sudo touch /forcefsck
This will force a check on the next boot.
Related videos on Youtube
Author by
Jerry Huckins
I code because I've always liked it and it fits my brain, and it pays the bills. I like helping others, being in a productive team, staying relevant, thinking about improvements, and getting things done. Nature is always nice to observe.
Updated on September 18, 2022Comments
-
Jerry Huckins over 1 year
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.
-
nkkollaw almost 6 yearsDoesn't seem to work on Bionic... :-|