Force filesytem check on a reboot

Login as the root and change directory to root (/) directory:

cd /

Create a file called forcefsck:

 touch /forcefsck

Now reboot the system:

reboot

Force fsck on next boot using shutdown command.
The -F option force fsck on reboot. Log in as root and type the following command to reboot and run fsck:

shutdown -rF now

Leave a Reply