gentoo-overlay/sys-apps/kexec-tools/files
2012-03-18 21:32:10 +04:00
..
kexec-tools-2.0.0-respect-LDFLAGS.patch Automatic update [Wed Nov 9 11:33:18 MSK 2011]. 2011-11-09 11:33:19 +04:00
kexec.conf Automatic update [Wed Nov 9 11:33:18 MSK 2011]. 2011-11-09 11:33:19 +04:00
kexec.conf-2.0.3 Sync with portage [Sun Mar 18 21:32:10 MSK 2012]. 2012-03-18 21:32:10 +04:00
kexec.init Automatic update [Wed Nov 9 11:33:18 MSK 2011]. 2011-11-09 11:33:19 +04:00
kexec.init-2.0.3 Sync with portage [Sun Mar 18 21:32:10 MSK 2012]. 2012-03-18 21:32:10 +04:00
kexec.init-ng Automatic update [Wed Nov 9 11:33:18 MSK 2011]. 2011-11-09 11:33:19 +04:00
README.Gentoo Sync with portage [Sun Mar 18 21:32:10 MSK 2012]. 2012-03-18 21:32:10 +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