Child pages
  • Checking and repairing file systems
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Forcing fsck at next reboot

  1. Check /etc/fstab; the last column for the FSes you want to check must not be 0 (requirement not confirmed but does no harm).
  2. Ensure that /etc/default/rcS has FSCKFIX set to yes (requirement not confirmed but does no harm).
  3. Create a signal file (it will be removed after fscking has finished):
        echo y > /forcefsck
  4. Reboot.

echo y > /forcefsck

Alternatively reboot with the shutdown command's -F option. (warning) Not all system support the -F option.  For example:

shutdown -rF now

  • No labels