Checking the Root File System at Boot Time

If the root file system type is one which should be checked at boot time (for example ext2), this can be done automatically using the file /etc/fstab. The final column (called fs_passno) indicates the order in which the file systems are checked and whether the file system should be checked or skipped.

fs_passno>Description
0 Use for file systems that don´t need to be checked such as NFS or read-only filesystems
1 Use only for the root file system, indicating that it should be checked first
2 Run a file system check on other non root file systems

From the table above it follows that the fs_passno column should be changed from 0 to 1, for the root file system, or 2 for any other file system which should be checked on boot.