From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 979C21389F5 for ; Mon, 17 Nov 2014 19:39:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE206E0904; Mon, 17 Nov 2014 19:38:56 +0000 (UTC) Received: from uberouter3.guranga.net (unknown [81.19.48.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC0E3E08F3 for ; Mon, 17 Nov 2014 19:38:54 +0000 (UTC) Received: from [192.168.151.20] (unknown [213.233.149.22]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by uberouter3.guranga.net (Postfix) with ESMTPSA id D506E224F for ; Mon, 17 Nov 2014 19:38:12 +0000 (GMT) Message-ID: <546A4ECA.1070109@thegeezer.net> Date: Mon, 17 Nov 2014 19:38:50 +0000 From: thegeezer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.8.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] kexec References: <546954DC.8050402@thegeezer.net> <20141117032522.GE26846@cerberus.civica.com.au> In-Reply-To: <20141117032522.GE26846@cerberus.civica.com.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: fce0857c-1347-487b-83b8-7e36f8538497 X-Archives-Hash: 91fd50183a5da959e2cfe1cb76905d8d 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 :)