October 13, 2009

[Linux] filesystem check without live CD

WORDS BY   Primož Hadalin

POSTED IN   tips & tricks | linux | fsck


On a mounted partition filesystem check (fsck) of course cannot be done and many tutorials suggest using a live CD of some sort. Here is a solution to force fsck on the next reboot:

# touch /forcefsck
# reboot