I am booting Ubuntu from USB. Initially it checks disk for about five minutes. Is this step necessary? Is there any problem if press ctr + C
?

- 153
- 5
-
A lot of people have said that this disc check is really needed, however note that it has not been included in the lates versions of Ubuntu. The obvious conclusion is that it was a bug. – C.S.Cameron Sep 08 '21 at 07:29
-
For me it seems to have been running for an hour now, stuck at 14%... I'm wondering if I should stop it.... – Yan King Yin Nov 02 '22 at 20:11
3 Answers
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 /boot/grub/grub.cfg just before quiet splash
for GRUB boot or in /isolinux/txt.cfg for Syslinux boot.
toram
For those people who think a filesystem check every boot is a good idea.
It takes a little longer to boot toram
, but the file system check takes about three seconds rather than three minutes, (about sixty times as fast), and the system should run faster once booted.
Add the command toram
to /boot/grub/grub.cfg or /isolinux/txt.cfg similar to above, or to syslinux.cfg for UNetbootin.

- 19,519
-
1
-
1@Archisman Panigrahi It can be edited during boot, but it is just temporary, Press
Shift
at the start of boot. if Syslinux boot, pressEsc
at language screen, pressF6
,Esc
and type a space andfsck.mode=skip
. If GRUB boot presse
at the menu, then type a space andfsck.mode=skip
at the end of the entry that starts with "linux". If you Boottoram
the file check completes in three seconds, not three minutes. – C.S.Cameron Dec 11 '20 at 01:54
It was introduced because there were many issues reported in the past which turned out to be caused by a corrupted iso. This is to prevent such issues.

- 1,303
Best practice is to let the self-check run the first time.
For subsequent boots, it's safe to CTRL+C to skip the self-check.
- Cancelling the check after you press CTRL+C takes a moment - be patient.

- 62,253
-
1The file filesystem.squashfs is over 2GB and takes most of the time to check. If you can't
Ctrl c
before the check gets to filesystem.squashfs, cancelling is not much use. – C.S.Cameron Dec 11 '20 at 01:41