You are not logged in.
can i after an update just reboot my fresh installed kernel instead of rebooting the whole system.... is this possible ?
Last edited by gregor (2012-01-27 14:48:09)
Offline
'Reboot the kernel' doesn't really make sense. You should change the title to 'Can I load updated kernel without reboot?' to increase your chances of getting a (useful) response.
That said, I saw a thread about this a while back but don't remember the conclusion.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
No, you can't. If Linux were a microkernel, it would be possible to replace it on-the-fly to some extent.
Offline
You can, with kexec.
Not guaranteeing you it will work 100% though, but that's for example how the atv-bootloader works for the 1st generation AppleTV. There's ksplice as well, but I don't know if it's free (as in beer) or not.
Last edited by .:B:. (2012-01-27 15:20:30)
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
kexec is not intented to replace a kernel image under the running workstation. With kexec you still need to kill user processes, then reload the kernel and then go through normal system init.
Offline
technically kexec doesn't really offload the old kernel.Becoz old kernel is still executing in memory too....
Last edited by hadrons123 (2012-01-27 15:46:21)
Offline
technically kexec doesn't really offload the old kernel.Becoz old kernel is still executing in memory too....
But it does overwrite the current kernel.
Offline
But it does overwrite the current kernel.
No. No, it doesn't.
Tim
Offline
laloch wrote:But it does overwrite the current kernel.
No. No, it doesn't.
See here: http://www.ibm.com/developerworks/linux … tml#N100CF
Offline
can i after an update just reboot my fresh installed kernel instead of rebooting the whole system.... is this possible ?
You see, the kernel isn't the problem, udev is. Particularly, after updating the kernel you'd like to know if all your devices are correctly recognized and initialized. That's why you need a reboot. Kexec is more an emergency measure than a reboot-replacement.
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
You see, the kernel isn't the problem, udev is. Particularly, after updating the kernel you'd like to know if all your devices are correctly recognized and initialized. That's why you need a reboot. Kexec is more an emergency measure than a reboot-replacement.
Debian, well: at least Squeeze, has kexec installed by default. However you must still "reboot" except you end up skipping the Power On Self Test, and also the GRUB kernel selection, then everything re-initializes and reboots as normal.
Edit
And since kexec is installed by default: every "reboot" is a "kexec reboot." Only power-off then power-on will show you a POST. When I was using Debian kexec was the first package I removed. I like to see a POST.
Last edited by headkase (2012-01-27 23:53:14)
Offline
thnx all
Offline