PDA

View Full Version : New Kernel - Reboot?



glennzo
24th October 2008, 03:36 PM
When there's a kernel update do I need to reboot the system into the new kernel or is there a way load the new kernel without a reboot?

Hlingler
24th October 2008, 03:39 PM
You must re-boot. The kernel is, for all intents and purposes, the OS.

V

glennzo
24th October 2008, 03:42 PM
Bummer. Wanted to keep the uptime string going :(

Thanks Hlingler :)

bob
24th October 2008, 03:44 PM
But, why bother? If the old kernel was working fine for your needs, just leave it alone.

glennzo
24th October 2008, 03:50 PM
Can't argue that point Bob. All is fine and there's really no need to reboot. As for the uptime, it was only 18 days but you can't get to 19 without passing through 18.

leigh123linux
24th October 2008, 04:10 PM
But, why bother? If the old kernel was working fine for your needs, just leave it alone.


I update my kernel all the time in hope something will break :cool:

Hlingler
24th October 2008, 04:16 PM
But, why bother? If the old kernel was working fine for your needs, just leave it alone.I agree. I'll happily let YUM update the kernel, but I won't re-boot unless and until I have to. No other way to set uptime records. :D

V

Nokia
24th October 2008, 08:46 PM
Greg_Kroah-Hartman (http://en.wikipedia.org/wiki/Greg_Kroah-Hartman) mentioned in Linux Kernel in a Nutshell (http://www.oreilly.com/catalog/9780596100797/) that a project exists that will facilitate switching kernels while running, without any reboot needed.

When I purchased it, I also found out reading it one of Greg's secret goals
Secret Goal (i.e. why I wrote this book and am giving it away for free online)
I want this book to help bring more people into the Linux kernel development fold. The act of building a customized kernel for your machine is one of the basic tasks needed to become a Linux kernel developer. The more people that try this out, and realize that there is not any real magic behind the whole Linux kernel process, the more people will be willing to jump in and help out in making the kernel the best that it can be. Therefore, you can read/reffer to it anytime here http://www.kroah.com/lkn/

Note to Glennzo: Read it ! ;)

glennzo
24th October 2008, 09:24 PM
Bookmarked Nokia. Thanks.

fedoraman08
25th October 2008, 07:47 PM
kernel is os'heart and change kernel you must stop os working

P4rD0nM3
6th December 2008, 04:28 AM
What about after yum upgrade Do you need to restart too? I'm becoming more and more obsessed with uptime.

Can't you just use kexec?