From: thegeezer <thegeezer@thegeezer.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] kexec
Date: Mon, 17 Nov 2014 19:38:50 +0000 [thread overview]
Message-ID: <546A4ECA.1070109@thegeezer.net> (raw)
In-Reply-To: <20141117032522.GE26846@cerberus.civica.com.au>
On 17/11/14 03:25, wraeth wrote:
> Would I be correct in guessing that this is dependant on
> sys-apps/kexec-tools being installed and CONFIG_KEXEC being enabled in
> the kernel?
correct.
> And, with CONFIG_KEXEC, is that required for the old kernel, new
> kernel or both?
just the one you are kexec'ing from. the new one could be a buntu kernel
with completely different root=
> Also, how would one go about manually using kexec while still
> adhearing to a clean shutdown (going down through init, rather than
> just "reset" into the new kernel)?
don't know in systemd but in openrc it would be stop all running services.
umount everything except root
remount root with option readonly
kexec -e
>> hope this has been interesting!
> It has, and having read this I'm going to try and play around with it in
> the next couple of days.
please do let us know how you get on :)
prev parent reply other threads:[~2014-11-17 19:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-17 1:52 [gentoo-user] kexec thegeezer
2014-11-17 3:25 ` wraeth
2014-11-17 3:36 ` Rich Freeman
2014-11-17 19:38 ` thegeezer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=546A4ECA.1070109@thegeezer.net \
--to=thegeezer@thegeezer.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox