I want to do fsck check while booting. my centos, not booting and kernel panic error showing.
so how to use fsck in kernel command line to do a file system check. please do let me know as its urgent.
thanks in advance.
I want to do fsck check while booting. my centos, not booting and kernel panic error showing.
so how to use fsck in kernel command line to do a file system check. please do let me know as its urgent.
thanks in advance.
You don't say which version of CentOS you're using, but both 6 and 7 will do a fsck on reboot if you touch /forcefsck
before rebooting.