As I mentioned in this post, I am using Ubuntu Linux in my xiaomi laptop. However, I am disturbed now and then these days by the disk check during the Ubuntu bootup. If I miss the very first few seconds, in which canceling disk check can take effect, I have to wait for a long time for the disk check to complete. Even if I press the ctrl+c key combination, it doesn’t work. I finally googled to find a way to skip the disk check as below:
https://askubuntu.com/questions/1250119/how-to-skip-filesystem-checks-during-boot
The procedure is to add ‘fsck.mode’ to the ‘GRUB_CMDLINE_LINUX_DEFAULT’ in the file ‘/etc/default/grub’. Take the below snippet for an example:
GRUB_CMDLINE_LINUX_DEFAULT=”fsck.mode=skip quiet splash”
Then run ‘update-grub’ command to update the grub configuration file. Finally the annoying disk check appears.