From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: bug#21843: Generated grub.cfg does not support encrypted roots Date: Thu, 17 Mar 2016 14:14:35 +0100 Message-ID: <20160317131435.GA12731@solar> References: <87twozi0ql.fsf@gnu.org> <20160308192104.GA22722@solar> <20160308193309.GA2251@solar> <8760wuy9mt.fsf@gnu.org> <20160316204000.GA8709@solar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agXlX-0004tw-BY for bug-guix@gnu.org; Thu, 17 Mar 2016 09:15:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agXlW-0004JX-HM for bug-guix@gnu.org; Thu, 17 Mar 2016 09:15:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agXlW-0004JR-Ey for bug-guix@gnu.org; Thu, 17 Mar 2016 09:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1agXlW-00061T-9C for bug-guix@gnu.org; Thu, 17 Mar 2016 09:15:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20160316204000.GA8709@solar> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 21843@debbugs.gnu.org On Wed, Mar 16, 2016 at 09:40:00PM +0100, Andreas Enge wrote: > I just read a bit of the cryptsetup manual; we do not need to do the > resolution, in the above example we would have the line > cryptomount -u cb67fc72-0d54-4c88-9d4b-b225f30b0f44 > (as discussed previously; it works at least without the dashes, we can also > try to keep the dashes). > And then it should be possible to open the device with > cryptsetup luksOpen UUID=cb67fc72-0d54-4c88-9d4b-b225f30b0f44 root > This looks for the given uuid in /dev/disk/by-uuid. > > I wanted to give it a try with the installation image, but unfortunately it > does not contain the directory /dev/disk. I tried it out with an already installed (and reconfigured, but that should not make a difference) GuixSD, and the above "cryptsetup" line works as well (with the dashes). Andreas