How can I ensure certain kernel modules are included in the initrd or initramfs in RHEL?

Solution Verified - Updated -

Issue

  • How can I configure the system to load a module early in the boot process?

  • How can I ensure mkinitrd includes certain modules in RHEL 4 and 5?

  • How can I ensure dracut includes certain modules in RHEL 6?

  • When I manually run mkinitrd I can include my own modules using --with=<module>, but I need to configure the system so that modules will be included when mkinitrd is run automatically by a kernel rpm installation

Environment

  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.