How to stop filesystem check (fsck) on boot?

To only skip fsck once (rather than disabling it permanently via fstab, or tune2fs) try these options:

  1. temporarily add the fastboot GRUB parameter before booting. For more info, check this link: https://wiki.ubuntu.com/Kernel/KernelBootParameters
  2. touch /fastboot should also skip the fsck check next time you boot

fsck has an option which makes it delay the automatic check when the laptop is on battery power; that is, if the filesystem is configured to check once every 30 mounts, it will interpret that as once every 60 battery-powered mounts. Most distributions have it enabled these days. However, it only checks for that at startup.

What you could do is, if the automatic check starts, remove the power supply from your laptop and then restart fsck by whatever way (hard reset, ctrl-c, ...)


tune2fs does the trick. It allows you to view/change filesystem parameters:

# tune2fs -l /dev/system_vg/tmp_lv | grep -i check
Mount count:              8
Maximum mount count:      34
Last checked:             Sat Oct 29 12:44:27 2015
Check interval:           15552000 (6 months)
Next check after:         Thu Apr 26 12:44:27 2016

You can change each parameter to enable/disable it, or to force filesystem check on next reboot, etc.

I suggest you change to disable Maximum mount count, and Check interval on laptops.

# tune2fs -c 0 -i 0 /dev/system_Vg/tmp_lv

Tags:

Fsck