gentoo-overlay/sys-apps/kexec-tools/files
2024-04-01 22:22:25 +03:00
..
90_kexec Sync with portage [Mon Dec 30 15:54:33 MSK 2013]. 2013-12-30 15:54:47 +04:00
kexec-r2.init Sync with portage [Wed Aug 5 09:11:46 MSK 2020]. 2020-08-05 09:11:47 +03:00
kexec-tools-2.0.4-disable-kexec-test.patch Sync with portage [Wed Mar 27 23:20:53 MSK 2013]. 2013-03-27 23:20:55 +04:00
kexec-tools-2.0.4-out-of-source.patch Sync with portage [Tue Nov 12 23:56:04 MSK 2013]. 2013-11-12 23:56:08 +04:00
kexec-tools-2.0.28-binutils-2.42-x86_64.patch Sync with portage [Mon Apr 1 22:22:25 MSK 2024]. 2024-04-01 22:22:25 +03:00
kexec.conf Sync with portage [Sat Sep 21 21:38:44 MSK 2013]. 2013-09-21 21:38:51 +04:00
kexec.conf-2.0.4 Sync with portage [Wed Mar 27 23:20:53 MSK 2013]. 2013-03-27 23:20:55 +04:00
kexec.service Sync with portage [Sat Sep 21 21:38:44 MSK 2013]. 2013-09-21 21:38:51 +04:00
README.Gentoo Sync with portage [Fri Sep 27 20:51:10 MSK 2013]. 2013-09-27 20:51:19 +04:00

Usage
=====

Do
 $ man 8 kexec
for full understanding of the underlying kexec command.
Gentoo offers a wrapper to the bare kexec command through
/etc/init.d/kexec.

Configuration
-------------

Configuration is done in /etc/conf.d/kexec, which is self-documented.

Usage
-----

In Gentoo, kexec is invoked, i.e., the new kernel will be booted when
rebooting, by reboot (8) command or by pressing Ctrl+Alt+Del.

If you want to use kexec once, just run
 $ /etc/init.d/kexec start

It'll reserve kexec call at reboot. Later on, you can reboot anytime,
letting kexec starts another (or the same) kernel. When all is done in
the runlevel 6 - killing processes, unmounting volumes, etc - kexec
starts the new kernel instead of doing the normal hardware reboot.

If you want kexec to be run every time you reboot, add it to a runlevel:
 $ rc-update add kexec <runlevel>

If you want to reboot in the normal way this time, do:
 $ touch /nokexec