• Comments
  • RHEL 7: how to add vfat and fat kernel module to initramfs from dracut prompt [solved]

    Posted on

    Hello fellow forum members,

    Due to CIS benchmark hardening our automation tools has blacklisted the installation of vfat and fat kernel modules.

    This has caused a reboot failure on an Azure VM that uses a vfat filesystem for the luks vault.

    Has anyone been able to add the 2 missing kernel modules to the initramfs to be able to boot.

    Solution: unpack the current initramfs, add the missing modules and run depmod -a, repack.

    always make a backup copy of the initramfs you manually try to fix

    Regards,

    Jan Gerrit Kootstra

    by

    points

    Responses

    Red Hat
    © 2025 Red Hat, Inc.