fsck on boot 24.04 for root fs

Jerry Geis jerry.geis at gmail.com
Fri Nov 1 14:44:50 UTC 2024


I tried adding this to /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="fsck.mode=force fsck.repair=yes"
then running update-grub
rebooted

found this in /var/log/syslog

systemd[1]: systemd-fsck-root.service - File System Check on Root Device
was skipped because of an unmet condition check
(ConditionPathExists=!/run/initramfs/fsck-root)

IN fact that file is there :
ls /run/initramfs/
fsck-root  fsck.log  overlayroot.log

How can I re-generate INITRAMFS so that file is not present - so fsck
happens on the root fs ?

Thanks

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20241101/7fee09e9/attachment.html>


More information about the ubuntu-users mailing list