Would like to use kexec for fast reboot and would like to have a clean shutdown before

Solution Verified - Updated -

Issue

  • We try to use kexec for fast reboot and would like to have a clean shutdown (like with normal reboot) before.
  • We would like to achieve something that allows us to decide if a normal reboot or a kexec reboot is performed. If we just load the kernel on with kexec -l on every boot, each reboot will be a kexec reboot.
  • reboot should trigger a normal reboot and systemctl kexec-reboot should trigger a kexec reboot to the same kernel that is currently running.

Environment

  • Red Hat Enterprise Linux 7
  • Kexec

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.