How do I remove a particular module from initramfs in Red Hat Enterprise Linux 6 and 7?

Solution Verified - Updated -

Issue

  • Requirement to remove a module from initrd image in order to avoid it loading at boot time.
  • In some cases, a SAN disk may get labelled as "/dev/sda", before the local disk does.

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • Red Hat Enterprise Linux (RHEL) 7
  • dracut (the tool that generates initramfs images in RHEL6 and 7)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content