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 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.