Nvme kernel drivers missing from initramfs

It seems Fedora doesn’t include the nvme nvme-core nvme-keyring nvme-auth modules in the startup ramdisk unless there’s an nvme device present during the initial OS install.

This is the only distro I’ve ever encountered where you can’t swap out a SATA drive for an NVMe, power up the host, and have it simply just work. I’m curious if anyone knows what’s behind the decision to omit.

I’d expect it’s because dracut is run in host only mode by default - from the man page:

hostonly="{yes|no}"
           Host-only mode: Install only what is needed for booting the
           local host instead of a generic host and generate
           host-specific configuration (default=yes).
1 Like