fsck from grub menu, no longer working

Tom H tomh0665 at gmail.com
Tue Nov 20 11:26:21 UTC 2018

On Tue, Nov 20, 2018 at 11:37 AM Colin Law <clanlaw at gmail.com> wrote:
> On Tue, 20 Nov 2018 at 09:59, Ian Bruntlett <ian.bruntlett at gmail.com> wrote:
>> My understanding is you can't run fsck on a mounted partition.
> I believe that to force an fsck on a mounted partition then, assuming
> the '/' is the root of that partition, run sudo touch /forcefsck and
> reboot.  That will do the fsck before mounting it and will then delete
> the file.

1) "touch /forcefsck" then rebooting isn't the same as running fsck on
a mounted partition. And it also only works for "/".

2) "touch /forcefsck" is superceded on systemd by passing
"fsck.mode=force [fsck.repair=...]" on the kernel cmdline.

3) _IF_ "fsck from grub menu" means selecting to fsck "/" from the
friendly-recovery menu that's displayed in single-user mode fails
because "/" is mounted, then there's a bug in that package. (I don't
use it so I can't check.)

More information about the ubuntu-users mailing list