Is there really no better way than having to manually edit the kernel line in the boot menu and adding fsck.mode=force with EOS? Am I maybe missing something?
In fact - probably not on most distros (any more).
Whats wrong with a boot option?
It can be applied perpetually via config or during a single instance (like by hitting E and editing the options during boot - which are only temporarily applied to that single boot).
Should I infer that means you are not familiar with âpermanentlyâ applying kernel parameters (boot options)?
Like if the bootloader were grub then they can be added to /etc/default/grub (on the CMDLINE line) or to a drop-in like /etc/default/grub.d/force-fsck.cfg (the drop-in containing something like GRUB_CMDLINE_LINUX+=" fsck.mode=force") .. and following up with sudo grub-mkconfig -o /boot/grub/grub.cfg (equal to sudo update-grub).
Of course if the bootloader is not grub then the method is different.
No grub here, guess EOS uses gummiboot (systemd-boot), right?
Have to learn configuring this one of the days, I guess. But anyway, I was only looking for a convenience method if you want to force a fsck only once in a while (like after a REISUB, I donât always trust the dirty flags).
EDIT: Had a quick look around, found /efi/loader/entries/, so should be systemd-boot, right?
I only wonder if some âboot config generation toolâ (dracut?) would overwrite any extra .confs I manually put there, or if I must somehow generate them using an extra process for systemd-boot.
I have to re-learn a little here, been using only grub for 13+ years. Btw, thanks for the documentation pointers!
It would need testing. We build our initrds with --no-hostonly-cmdline since we manage kernel params via the bootloader. I am not sure how those two things interact.
Thanks @cscs & @dalto for your input. Love learning something new each day!
Iâd prefer to give âsolutionâ to both of you for your help, but I think âsolutionâ should be the post that either solves or best describes it in total, right?