View previous topic :: View next topic |
Author |
Message |
iceland n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/14691721540a5295506c0f.gif)
Joined: 14 May 2004 Posts: 6 Location: reykjavik
|
Posted: Fri May 14, 2004 8:00 pm Post subject: Installing new kernel without reboot? |
|
|
Is it possible to install a new kernel without doing a hard reboot?
Like... the old kernel shutting itself down, closing all apps, and then instead of rebooting just telling the system to execute the new kernel? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eNTi Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/644131975434e394a00450.gif)
Joined: 20 Oct 2002 Posts: 1011 Location: Salzburg, Austria
|
Posted: Fri May 14, 2004 8:04 pm Post subject: |
|
|
iirc, no. _________________ If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.
-- John Sheridan - Babylon 5, Season 4 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
andrewy l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 07 Apr 2004 Posts: 602
|
Posted: Fri May 14, 2004 8:07 pm Post subject: |
|
|
Short answer: Nope.
Long answer: I remember seeing an article about this somewhere, but I don't think it would be worth the trouble. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gentree Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/1364161114417d616b9645b.jpg)
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Fri May 14, 2004 8:45 pm Post subject: |
|
|
It;s trure this would be handy.
I have to reboot to get back to console after X becasue my nvidia driver seems to dump on the frame buffer.
It would save quite a bit of time if I could reboot from grub rather than rebooting the BIOS.
I'm playing with a few X settings and everytime something does not work I need to reboot. Looong.
Would also be nice to get my console back without rebooting of course but so far no ideas have come forward on that one.
![Cool 8)](images/smiles/icon_cool.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ipower Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 07 Jan 2004 Posts: 120
|
Posted: Fri May 14, 2004 8:48 pm Post subject: |
|
|
You Must reboot. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Wedge_ Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/4097379943fc120852d16f.jpg)
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Fri May 14, 2004 8:49 pm Post subject: |
|
|
iceland wrote: | Like... the old kernel shutting itself down, closing all apps, and then instead of rebooting just telling the system to execute the new kernel? |
There is a kernel patch called kexec that is intended to allow you to do that kind of thing, but I think it's still pretty far away from being ready for general use. It can be made to work at the moment with some effort, but it's really not worth the trouble. _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
darksbane n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Apr 2004 Posts: 28 Location: Fredonia, NY
|
Posted: Fri May 14, 2004 9:51 pm Post subject: Re: Installing new kernel without reboot? |
|
|
iceland wrote: | Like... the old kernel shutting itself down, closing all apps, and then instead of rebooting just telling the system to execute the new kernel? |
If you have to close all apps to start a new kernel, is there a reason to want to not reboot? I could see this being useful from an uptime standpoint, if you had services that had to stay going. _________________ :wq |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hayl Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Bugs.gif)
Joined: 28 Jan 2003 Posts: 442 Location: Calgary, Alberta, Canada
|
Posted: Sat May 15, 2004 2:10 pm Post subject: |
|
|
i think kexec resets your uptime iirc because init gets restarted when the new kernel loads. i think the only benefit of the kexec is that you don't have to go through the POST which isn't really a benefit imho as the post only takes a few seconds anyway. i suppose it woudl be useful on some large server that took an age to POST?? _________________ "I do not fear computers. I fear lack of them." - Isaac Asimov |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|