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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In