dracut fails to load required module while rebuilding initramfs

Solution Verified - Updated -

Issue

  • After kernel update, newly generated initramfs image does not contain many of the modules. While the old kernel's initramfs image shows correct modules in it
  • Same issue persists while trying to generate new initramfs image using dracut -f -v

    o Contents of initramfs image on affected host:

    [root@testhost broken]# ll bin/
    total 0                                          <----
    [root@testhost broken]# ll cmdline/
    total 0                                          <----
    [root@testhost broken]# 
    

    o On a non-affected host initramfs image shows lots of binaries present within it:

    [root@testhost 696-working]# ll bin/
    total 1644
    [root@testhost 696-working]# ll cmdline/
    total 48
    [root@testhost]
    

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Device-Mapper-Multipath

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