Why do you want to do that?
It's not advised to do so.
I know it.
I know, I know, I know, I know, I know, I know, I know….
but in some cases it can be useful so I want to tell you how to do this job.
I use this trick on systems without a battery, when the system reboots the kernel find modification time in the future, so it stops the execution and asks for a file system check. This is not a good behaviour I want my system boots as soon as possible.
Imagine you want to disable the filesystem check on /dev/sda1 device you have to issue the following command (as root user):
# tune2fs -c0 -i0d /dev/sda1
Adjust the number of mounts after which the filesystem will be checked by e2fsck(8). If max-mount-counts is 0 or -1, the number of times the filesystem is mounted will be disregarded by e2fsck(8) and the kernel.
Adjust the maximal time between two filesystem checks. No postfix or d result in days, m in months, and w in weeks. A value of zero will disable the time-dependent checking.
you can also modify the file system table in linux. With you fovorited text editor open the /etc/fstab file
locate the line related to the sda1 device and change the last value to zero.
For example in my case the line was:
/dev/sda1 / ext2 defaults 1 1
And the modified line is
/dev/sda1 / ext2 defaults 1 0