Question: Disable FSCK when a dedicated server reboot
How to stop a FSCK from prompting or running automatically when rebooting (Linux).
Answer: Disable FSCK when a dedicated server reboot
How to stop a FSCK from prompting or running automatically when rebooting (Linux). It is a wise choice to run a FSCK on the system as it could become unstable/corrupt after a long period of use. However, if you choose to keep a FSCK from running on a reboot you can follow any of the following steps to disable it: 1. When rebooting the server (from within the server) use “shutdown -rf now”. This tells the system to reboot and not run an autofsck. 2. Edit the /etc/grub.conf file and place fastboot at the end of the kernel line. 3. Edit the /etc/fstab. You will see two numbers at the end of the line for each partition, change the second number to a 0 (example: /dev/sda5 / ext3 defaults 1 0). This will have the system mount the partition but will not run a check when booting.
|