We can force a Linux system to fsck while booting. For this create a file /forcefsck in "/".
Step1: cd to "/"
Step2: Create a file called /forcefsck
Step3 : Run the command:
shutdown -rF now
-r: reboot after shutdown.
-F: Force fsck on reboot.
Note: Don't use command "shutdown -rf now" because "-f" option will skip the filesystem check on boot.
Post a Comment
Note: only a member of this blog may post a comment.