1. I haven't heard of this. Where did you hear this? Can you share links/sources? In my experience this seems to be false, because I would regularly get the BusyBox prompt because of piled up file system errors.
2. Many people have been having file system error issues in the last 7-8 months or so, I believe there is a bug in the kernel that happens for some people, some of the time. Usually it takes 1-2 weeks to become unable to boot and get the BusyBox prompt.
I used to have the following in my GRUB configuration file
/etc/default/grub
which ran
fsck
automatically and fix all errors automatically (only on the boot partition, not others) EVERY BOOT:
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash fsck.mode=force fsck.repair=yes"
Recently I found this to be really overkill, so I opted for
tune2fs
: assuming your boot is on
/dev/sda1
will run
e2fsck
EVERY 5 MOUNTS, whereas
will run
e2fsck
EVERY 5 DAYS. That's what I'm using now.
You'll have to decide when/how it is appropriate to run. This is a paragraph from
man tune2fs
:
Mount-count-dependent checking is disabled by default to avoid unanticipated long reboots while e2fsck does
its work. However, you may wish to consider the consequences of disabling mount-count-dependent checking
entirely. Bad disk drives, cables, memory, and kernel bugs could all corrupt a filesystem without marking
the filesystem dirty or in error. If you are using journaling on your filesystem, your filesystem will
never be marked dirty, so it will not normally be checked. A filesystem error detected by the kernel will
still force an fsck on the next reboot, but it may already be too late to prevent data loss at that point.
See also the -i option for time-dependent checking.
3. I never ran
fsck
or
e2fsck
directly from the GRUB command line, as I am not familiar with its syntax. I would hold Shift, go to
Advanced Options/Recovery Mode/Drop to root shell
and run
fsck
from the normal command line.
Hope this helps.