1

I am trying to read an encrypted filesystem pulled from a Fedora 38 installation on Rocky Linux 9.2. When I plug the SSD in, it shows the following error:

enter image description here

I suppose that this means (1) the default filesystem on Rocky Linux 9.2 is something other than BTRFS and (2) I have to recompile my Linux kernel with the BTRFS module (or something equivalent). It has been many years since I last did that. What is the modern way to do this?

1
  • Questions on Server Fault must be about managing information technology systems in a business environment. Home and end-user computing questions may be asked on Super User, and questions about development, testing and development tools may be asked on Stack Overflow. Oct 7 at 21:18

1 Answer 1

3

EL has not included btrfs since 7, no. Options exist for Red Hat family distros, which to choose depends on whom you trust to maintain your OS.

Fedora is an option, same as the source OS. Obvious problem, your host is instead EL. Although could create a Fedora host (VM guest or whatever), for operational use or just to do a file transfer.

Oracle Linux has btrfs as a feature. Also not Rocky, but is EL 9 derived so almost the same.

ELrepo's kernel-ml package has btrfs enabled. While you can use it with Rocky, this is quite a different kernel than RHEL. Its security and maintainers are different as a third party thing. And you'll have to find a user space btrfs-progs, I don't think that's packaged.

Regarding building your own kernel, that means you take on responsibility for maintaining security and stability fixes. And package it such that it replaces upstream kernel, which is a complex beast. Further, support communities like us cannot help with arbitrary customization, we would need to reproduce your builds which is not easy. Feel free to study building packages from source, but from a support perspective even installing some other distro is a more known quantity than custom builds.

1
  • I ended up installing kernel-ml from ELrepo, and as I didn't need userspace stuff, that was sufficient for my purposes.
    – Lucky
    Oct 9 at 13:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .