15

Whenever I boot Ubuntu 20.04 on my computer, I get a message saying "Press Ctrl+C to cancel all filesystem checks in progress." is there any way to stop auto disk checking?

This happens with and without the Surface Linux kernel. If you want more info (such as my GRUB config) I'll answer it in the comments.

This did not happen when I used 18.04.

3 Answers3

8

Hope this works for you, in brief:

tune2fs -c 0 /dev/yourdevicehere

Note: yourdevicehere is where your / (root) is mounted. To check its location, run the following command:

df -h

Source: How to force file system check (fsck) after system reboot on Linux

2

Removing Disk Check From 20.04 Boot

The command line option fsck.mode=skip can be used to skip the disk check when booting Ubuntu 20.04.

The line Checking disks: 0% complete may still come up but fsck will not be run, nor will boot time be increased.

Add fsck.mode=skip to the linux line in grub.cfg just before quiet splash

It is recommended to add the command to grub.cfg by editing /etc/default/grub thus: GRUB_CMDLINE_LINUX_DEFAULT="fsck.mode=skip quiet splash" and then run sudo update-grub.

I have had this problem with a Live USB but not with an installed system.

C.S.Cameron
  • 20,530
  • 12
  • 78
  • 125
0

I've been having this same problem in the last releases of Ubuntu. Right now, I have Ubuntu 21.10 installed and it still has it. Trying the solution from @wazeredo46 did not work for me. But I managed to find some sort of solution. I have dual boot with Windows 10, and apparently Ubuntu does not like that. The partition it is always checking at boot is the ESP one. To fix that, I changed its 'pass' argument in fstab from 1 to 0. I would recommend keeping the other partitions with their original pass values, as it will make it possible for errors to be detected.