How To Force A File System Check In Linux Mint

Here’s how to force a file system check (fsck) in Linux Mint:

1. Issue the following command at the terminal to change to the root directory-

cd /

2. Now we need to create a file called ‘forcefsck’ in the root directory. Issue the following command at the terminal-

sudo touch /forcefsck

3. Verify that the file has been created. Issue the following command at the terminal-

ls

4. Now we need to reboot the system. Issue the following command at the terminal-

sudo reboot

5. A file system check via fsck utility is forced at next reboot-


Comments are closed.