From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: Re: Installer and luks support. Date: Sun, 09 Dec 2018 23:11:26 +0900 Message-ID: <87mupezt69.fsf@gmail.com> References: <8736r8kcdp.fsf@gmail.com> <874lbn7h65.fsf@gnu.org> <87sgz7zejd.fsf@gmail.com> <87mupe3js6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVzoA-0007Y6-3E for guix-devel@gnu.org; Sun, 09 Dec 2018 09:11:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVzo3-00049b-Pv for guix-devel@gnu.org; Sun, 09 Dec 2018 09:11:46 -0500 In-reply-to: <87mupe3js6.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel Hi, > Good point. Perhaps a simple hack would be to detect that /mnt is > already an overlayfs mount and in that case skip the =E2=80=9Cherd start > cow-store /mnt=E2=80=9D step? Would that be enough? Nope sadly, it won't work because keeping the overlayfs prevent from closing the luks mapping which will conflict with an eventual different partitioning. So unless I'm wrong, that leaves two options: 1. Find a way to close/umount everything but that sounds complex. 2. Like evoked with G=C3=A1bor, allow the user to resume the installer but remove the partitioning step and the other steps that will conflict with this intermediate, wobbly state. Uppon consideration, I'm not fond of option 2. The ideal would really be to find a way to umount the overlay, close the luks mapping and allow the user to resume the installer from anywhere. Mathieu