I'm on Fedora 27 and I'm trying to fsck a SSD but the usual things like /forcefsck aren't working.

Also tried to set up my /etc/default/grub like so

GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/root rd.luks.uuid=luks-2ef8e9f4-a691-4007-91d1-04d34cb4dd4f rd.lvm.lv=fedora/swap rhgb quiet fsck.mode=force"
  • 1
    Is it too obvious to suggest running fsck on the decrypted layer that holds the filesystem? If so please clarify in your question. – roaima Dec 10 '17 at 21:53
  • I'm having other issues that prevent me from livebooting from another drive/distro to attempt this. I assumed there wouldn't be any reason it couldn't be done in a similar way to fsck on a non-LVM partition. – warsong Dec 10 '17 at 22:01
  • 1
    Under Ubuntu/Debian you are able to select a "rescue shell" to boot into in the boot menu. So I assume you should be able to do the same under Fedora - i.e. boot into a rescue shell and do the decrypting and fsck there. ? – Tomáš Pospíšek Dec 11 '17 at 7:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.