How to recover the system, if yum accidentally removed the kernel due to dependency on Red Hat Enterprise Linux 5?

Updated -

When removing a package, for example yum -y remove dmraid will remove kernel also. This is because kernel is a dependency package for dmraid. If the sys admin did not notice this, the system would be unbootable after a reboot.

In this scenario it may be possible to reinstall the kernel without reinstalling the OS.

First boot the system with the Installation CD of the...

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