How to test a post kernel update reboot in an unattended or resilient manner?

Solution Verified - Updated -

Issue

  • We experience kernel boot failures following updates periodically that require administrator intervention. How can we avoid having to involve administrators in the event that a kernel update goes badly?
  • How to attempt to boot into a new kernel, but use a functioning kernel if it fails?

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 10
  • grub2

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