yum update fails with 'mkinitrd failed'

Solution Verified - Updated -

Issue

While doing yum update, the error message seen is :

cpio: ./etc/modprobe.d/network.conf: Cannot stat: No such file or directory
cpio: ./etc/crypttab: Cannot stat: No such file or directory
E: dracut: creation of /boot/initramfs-x.x.xx-xxx.xx.x.el6.x86_64.img failed
mkinitrd failed
warning: %posttrans(kernel-x.x.xx-xxx.xx.x.el6.x86_64) scriptlet failed, exit status 1
Non-fatal POSTTRANS scriptlet failure in rpm package kernel-x.x.xx-xxx.xx.x.el6.x86_64

Environment

  • Red Hat Enterprise Linux (RHEL) 6.x

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