linux poison RSS
linux poison Email

How to Force fsck (Filesystem check) on next boot

If you want to force fsck on the next boot, just create a file called /forcefsck . If this file is present, then during next boot - the fsck is forced.

# touch /forcefsck

Now reboot the machine and when it comes up, fsck will be forced.

# reboot


2 comments:

Quran said...

Thanks for this post, I was looking how to force a check disk on reboot and this help me!

DevOps said...

on root /
touch /forcefsck

Post a Comment

Related Posts with Thumbnails