Linux: Skip or Bypass a Fsck

Linux: Skip or Bypass a Fsck

To skip or bypass a file system check (fsck) on a Linux system, you can use the following steps:

  1. Boot the system into single user mode. You can do this by pressing the Esc key or Shift key during the boot process and selecting the "Single user mode" or "Recovery mode" option.

  2. Once the system has booted into single user mode, you will be presented with a command prompt. At the prompt, type the following command to remount the root file system as read-write:

mount -o remount,rw /
Source:w‮ual.ww‬tturi.com
  1. Next, you will need to locate the file that controls whether or not the file system should be checked at boot time. This file is usually called fsck or fsck.conf and it is located in the /etc directory.

  2. Open the fsck or fsck.conf file in a text editor and look for a line that specifies the file systems that should be checked at boot time. This line may look something like this:

FSCKFIX=yes
  1. Change the value of FSCKFIX to no to disable the file system check at boot time. The line should now look like this:
FSCKFIX=no
  1. Save the fsck or fsck.conf file and exit the text editor.

  2. Reboot the system by typing the following command at the command prompt:

reboot

The system should now bypass the file system check at boot time. Keep in mind that skipping or bypassing the file system check may lead to file system corruption or other problems, so it is generally not recommended. You should only do this if you are sure that it is safe to do so and if you have a good reason for doing it.

For more information about the fsck command and how to use it to check and repair file systems on a Linux system, you can consult the fsck documentation or use the man fsck command to see the manual page.

Created Time:2017-10-30 10:17:47  Author:lautturi