Dne Tue, 16 Dec 2008 23:36:23 +0100
"Peter Robinson" <pbrobinson(a)gmail.com> napsal:
>> On Tue, 2008-12-16 at 16:41 -0500, Seth Vidal wrote:
>> > so a good reason to power off is simply to save power
>>
>> Or to reboot for one of our frequent updates that require it.
>> kernel, dbus, etc...
>
> Why does anything other than a kernel update require a reboot?
>
> Is it possible to use kexec to boot a new kernel from the old one?
> That would cut down on the reboot time (on some of my systems,
> especially servers with SCSI and/or RAID, the POST takes much
> longer than the kernel/daemon boot).
Oh yes please! Some of my large servers seems to take weeks to
boot :-)
Yes, it is possible. I am actually using it on my laptop right now. My
goal was to have PackageKit restart the machine using kexec instead of
the full restart.
Here are patches I made for that:
http://michich.fedorapeople.org/kexec-fedora/
You most likely do not use PK on a server, but take a look at the
helper script ck-system-restart-quick in the ConsoleKit patch. It
can be used outside of CK. It's not perfect but works for me.
Michal