Monday 11 February 2013

Running force fsck

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
===
touch /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.
====












No comments:

Post a Comment

Note: only a member of this blog may post a comment.