To stop a FSCK from prompting or running automatically when rebooting server:

Bypass a fsck using shutdown command

When rebooting the server use the following command

# shutdown -rf now

Set Linux kernel option by editing grub.conf / menu.lst

Open grub.conf or menu.lst (usually located in /boot),

# vi /boot/grub.conf

Find kernel line and put fastboot at the end of the kernel line. In the end it should look as follow:

kernel /vmlinuz-2.6.18-92.1.22.el5 ro root=LABEL=/ console=tty0 console=ttyS1,19200n8 fastboot

Skip fsck by updating /etc/fstab file

You will see two numbers at the end of the line for each partition, change the second number to a 0 (zero digit).

LABEL=/disk3 /disk3 ext3 defaults 0 0

Leave a Reply

Your email address will not be published. Required fields are marked *