Skip FSCK while boot / fastboot in linux : Quick View

how to skip or bypass a fsck on reboot? How to stop a FSCK from prompting or running automatically while rebooting the server.

1. To change grub.conf

Reboot the server using below command

# shutdown -rf now

Above command will reboot the system and will not run auto fsck.

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

Open grub.conf or menu.lst

# 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


This will be saved as permanent and everytime server boots it wpont check the fsck. If you want t od oonly one time ,then edit the grub
at the time of boot by pressing the key "e".



2. To change /etc/fstab option:

You can sckip the fsck option by modifying the /etc/fstab file like below .

In /etc/fstab end of the mount point option the values to 0 . (sixth field)

If the sixth field is not present or zero, a value of zero is returned and fsck will assume that the filesystem does not need to be checked. Here is sample entry:


LABEL=/disk1        /disk1            ext3    defaults    0 0

then save and exit.


By using the above  2 way we can skip or bypass fsck.


Post a Comment

2 Comments