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