The mkinitrd command doesn't work if there is a symbolic link under /lib/modules/`uname -r`/updates

Solution Verified - Updated -

Issue

  • The mkinitrd command doesn't work if there is a symbolic link under /lib/modules/`uname -r`/updates

    # mkinitrd /tmp/test.img `uname -r`
    unable to stat -f: No such file or directory
    unable to stat -f: No such file or directory
    No module poooo found for kernel 2.6.18-194.el5, aborting.
    

Environment

  • Red Hat Enterprise Linux 5.5
  • mkinitrd-5.1.19.6-61

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.