You found the answer to your question yourself. Well done.
Let me sum up what we've learned.
To manually start a complete filesystem-check on MX Linux at boot time,
you can use one of the following kernel boot parameters.
Code: Select all
forcefsck
Code: Select all
fsck.mode=force
undergo a complete filesystem check at next boot.
To have a regular full check carried out you could use this command
as :
sudo tune2fs -c60 -C61 -i30 device
where device = the device to be checked. e.g. /dev/sda1 ,
and with some example settings:
-c60 = max-mount-counts 60
-C61 = set the number of times the filesystem has been mounted.
61 > 60 : will check the filesystem at the next reboot
-i30 = interval-between-checks : 30 days
To disable automatic regualar full fs-check:
sudo tune2fs -c0 -i0 device