On 01/16/2016 06:11 PM, Brandon Vincent wrote:
On Sat, Jan 16, 2016 at 3:38 PM, ToddAndMargo <toddandma...@zoho.com> wrote:
How do I force an fsck on next reboot on all
three of the following partitions:

      /
      /boot
      /home

First check if all of the systemd-fsck services are enabled. Running
blkid(8) should provide you with the UUID for all of your partitions.

systemctl is-enabled systemd-fsck-root.service and systemctl
is-enabled systemd-fsck@ (use tab competition to check all the
partitions) should output "static". If they don't, enable the
service(s) using systemctl enable.

At this point, all you have to do is append the kernel parameters with
fsck.mode=force and fsck.repair=preen or fsck.repair=yes. preen is the
default and will only fix safe issues that don't require user
interaction, while yes will repair more serious problems and may not
be a great idea unattended.

Brandon Vincent



Would this be a one time fsck or every boot?

Reply via email to