The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.
To set up your system so that you can enable fast reboots of the current kernel:
Create the file
/etc/init.d/runkexecwith the following contents:#!/bin/sh # # runkexec # ### BEGIN INIT INFO # Provides: runkexec # Required-Start: # Required-Stop: # Default-Stop: # Description: Enable or disable fast system rebooting # Short-Description: enable or disable fast system rebooting ### END INIT INFO KV=`uname -r` case "$1" in start|restart|load|reload) kexec -l --append="`cat /proc/cmdline`" --initrd=/boot/initramfs-${KV}.img \ /boot/vmlinuz-${KV} ;; stop|unload) kexec -u && echo "Target kexec kernel unloaded." ;; status) echo "Status not available for kexec." ;; *) echo "Usage: runkexec {start|restart|load|reload|stop|unload|status}" exit 2 esac exit 0Set the ownership and mode of the file.
#
chown root:root /etc/init.d/runkexec#chmod 755 /etc/init.d/runkexecCreate the symbolic link
S00kexecto the file from the/etc/rc1.ddirectory.#
ln -s /etc/init.d/runkexec /etc/rc1.d/S00kexecTo enable fast reboots without needing to reboot the system, enter:
#
service runkexec start

