Wednesday, October 26, 2016
How to force fsck on the next reboot
How to force fsck on the next reboot
Solution / Answer:
By creating an empty forcefsck file in the root directoy
FSCK Command:
fsck check and repair a Linux file system
DESCRIPTION:
fsck is used to check and optionally repair one or more Linux file systems.
Create empty forcefsck file:
In order to force your system to run fsck on your file systems during the next reboot you need to create a file called forcefsck in your root / folder.
Become Root
$ su -
Create forcefsck file in root folder
# touch /forcefsck
Reboot System
# shutdown -r now
Available link for download