| Author |
Message |
ikeinthai
|
|
Post subject: enable easy reboot into new kernel?
Posted: 16.05.2011, 09:34
|
|

Joined: 2010-09-22
Posts: 114
Location: bigannastybkk
Status: Offline
|
|
please, i know there's an aptosid script that will allow me to reboot directly into a new kernel, after a dist-upgrade, with "init 6".
i have forgotten what this script is called and where i can enable this useful function.
could someone remind me?
thanks in advance, ike. |
_________________ aptosid: magic in action, the point of the spear. bleedin pearls before swine? lets hope not. freesoftware/freedomsoftware=a chance at freedom. participants, engage your vehicle. . . avatar by zenren
|
| |
|
|
|
 |
bfree
|
|
Post subject: RE: enable easy reboot into new kernel?
Posted: 16.05.2011, 09:53
|
|
Team Member

Joined: 2010-08-26
Posts: 225
Status: Offline
|
|
| I guess you are thinking of kexec? To enable it by default when you reboot edit your /etc/default kexec and change LOAD_KEXEC to true. |
|
|
| |
|
|
|
 |
se7en
|
|
Post subject: RE: enable easy reboot into new kernel?
Posted: 16.05.2011, 11:19
|
|

Joined: 2010-09-11
Posts: 164
Status: Offline
|
|
aehh isn't the newest kernel anyway the first in the grub list?
so wouldn't do a reboot after apt-get dist-upgrade do the same or am I not understanding the question? |
_________________ Don't mention the war!
Meine Meinung steht fest! Bitte verwirren Sie mich nicht mit Tatsachen!
|
| |
|
|
|
 |
bfree
|
|
Post subject: Re: RE: enable easy reboot into new kernel?
Posted: 16.05.2011, 12:54
|
|
Team Member

Joined: 2010-08-26
Posts: 225
Status: Offline
|
|
|
se7en wrote:
aehh isn't the newest kernel anyway the first in the grub list?
They may not be using grub to boot or may have modified their grub setup to put something else first/default.
se7en wrote:
so wouldn't do a reboot after apt-get dist-upgrade do the same or am I not understanding the question?
They also might just want it to go faster (particularly if they have funny devices that take a long time to initialise during a normal boot).
No doubt there are other reasons I'm not thinking of right now. |
|
|
| |
|
|
|
 |
ikeinthai
|
|
Post subject: precious time.
Posted: 16.05.2011, 15:22
|
|

Joined: 2010-09-22
Posts: 114
Location: bigannastybkk
Status: Offline
|
|
kexec, yes! thank you bfree.
bfree wrote:
They also might just want it to go faster (particularly if they have funny devices that take a long time to initialise during a normal boot).
way quicker to use this handy tool, and time is more precious than diamonds or gold.
also with multiple installs on a single disk, much better to reboot with the new kernel without updating grub, and only have grub-update ONCE after the last install on the disk has been upgraded (rather than having grub update after each of the multiple systems is upgraded. SLOW. UNNECESSARY. a WASTE.)
the slower the system, the faster that extra time rebooting adds up. try kexec se7en, you might like it.
thanks again bfree. ike. |
_________________ aptosid: magic in action, the point of the spear. bleedin pearls before swine? lets hope not. freesoftware/freedomsoftware=a chance at freedom. participants, engage your vehicle. . . avatar by zenren
|
| |
|
|
|
 |
|
|