From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YH3NDuSqr2DTIQAAgWs5BA (envelope-from ) for ; Thu, 27 May 2021 16:21:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EF+LCuSqr2DpdwAAB5/wlQ (envelope-from ) for ; Thu, 27 May 2021 14:21:24 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E200025C00 for ; Thu, 27 May 2021 16:21:22 +0200 (CEST) Received: from localhost ([::1]:54702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmGsz-0003PX-Vq for larch@yhetil.org; Thu, 27 May 2021 10:21:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llpli-0002Is-I6 for bug-guix@gnu.org; Wed, 26 May 2021 05:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36091) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llpli-0000x4-AM for bug-guix@gnu.org; Wed, 26 May 2021 05:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1llpli-0003kc-6L for bug-guix@gnu.org; Wed, 26 May 2021 05:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48649: Guix doesn't boot with LUKS root partition Resent-From: Juraj Hlista Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 26 May 2021 09:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48649 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tobias Geerinckx-Rice X-Debbugs-Original-Cc: "48649@debbugs.gnu.org" <48649@debbugs.gnu.org>, "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.162202103314402 (code B ref -1); Wed, 26 May 2021 09:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 May 2021 09:23:53 +0000 Received: from localhost ([127.0.0.1]:47637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llplY-0003k9-LX for submit@debbugs.gnu.org; Wed, 26 May 2021 05:23:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:50080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llplU-0003jx-Gz for submit@debbugs.gnu.org; Wed, 26 May 2021 05:23:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llplU-0001vl-BS for bug-guix@gnu.org; Wed, 26 May 2021 05:23:48 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:37159) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llplG-0000el-SE for bug-guix@gnu.org; Wed, 26 May 2021 05:23:47 -0400 Date: Wed, 26 May 2021 09:23:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juraj.me; s=protonmail3; t=1622021009; bh=ocLYAvs3z2XusTz378D3XLV6Gy75Ui/Hy0mksUwifRA=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=p+/EQg8M0rs/hd6MfzKdD+nLuMFH9hc5HYmKs59dunSO6SFHjat9/nVT6qx/edNhf +yUuQ4ru/HcEdQ0Wj5osCNcjeiUDhusAxRgxxfD8iwv4PANhrEQtS2g4UQ1b4J5i+7 Nbj8yLpDDjDH/dHsDx5q5Af1BfKqsw/1IFLSwJ+H8rPhgN8nvlDET5dT2hmrKXJqmZ uskjbi9w9U5uv4WXeq0cfahPlOQ0RCMsMEJf8DmsygVoOqY+aoiFCk/BfRxaZRusFe 8ub260/PTXsI5i8Fhkig8nIJg1RJAi1KZAl9Z65HzwUtrfFyAoyrp6TL9FEGHJ/o37 9Wdr+lNkJzARA== From: Juraj Hlista Message-ID: In-Reply-To: References: <87v977m574.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.133; envelope-from=juraj@juraj.me; helo=mail-40133.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 27 May 2021 10:20:33 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Juraj Hlista Cc: 48649@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622125283; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ocLYAvs3z2XusTz378D3XLV6Gy75Ui/Hy0mksUwifRA=; b=SZ5r48VKcUKZ9JGmnmkAxslNke0UCii/E1DjRgX4ED6LJuYsbUw09DE9IZ2wFXDBqq++an exF5vQGR8kK6lFn1MSzsu6qdmtSp04yqDzFrBqfVdoH5JlRMYM2Q5V+pL2+3YtYJMe0Cot UzUxDB6f9icNtFRDt12JM8lGSqCCxSEmxJVBsPztdZERbAqEEzBwkiy9wCBTNEcrs0Mi6T Q8tiN0mBXvDh/wOYvPlR25mEztACx0rLPDGNBPex6k1PJJMMUK3vMDWEWGJLWl0AHAGA8v wG2VWtfX3dNkt7s4MaTrnbzAUGZfZZ8tx7322VTtlvK0yadSjYPcVCg+7zhC1Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622125283; a=rsa-sha256; cv=none; b=b3pTwiE/0R6RUpZ5+9MwP31/INB7GIs0Wv6vGj4ouJaUHBCELIkHyD1+KHITXGJs1Bs3HV uAjaEKGDUWqwH6n0F9RFmrjogOnmQBPbbLiVwT7telmo4L1w35Q0wiuRwV0uZnr3oNs9V0 V7TufbzJvVhDc7UtvopFuZNs4msI3ssXdQIIjmRU9lp1c4p0s7h7ATu5QWwlG9BSkQPzyA nMP/HoyzkLdnv60y+/nY3QSgX5TkoBm/Q1SRWlVESufpESfCAHVfXinRxKsFG0aOWI+YOo k12T7fzyNrFqKI5mZyFZLzfxmckQLHMiLbOhNO+1X7IP3tTwP0Dge8RP2A14mQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=juraj.me header.s=protonmail3 header.b="p+/EQg8M"; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=juraj.me header.s=protonmail3 header.b="p+/EQg8M"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: E200025C00 X-Spam-Score: -0.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: XoYA2lAO093p There has been some progress. I added this line: (initrd-modules (cons* "i915" %base-initrd-modules)) to the config and it solved the issue with freezing the laptop. Not sure how the i915 module is related to LUKS though. Best Regards, J =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Tuesday, May 25, 2021 7:19 PM, Juraj Hlista wrote: > I tried to install Guix on unencrypted partition as well and it works. > > So to sum up my issue: > > /dev/nvme0n1p1 - 1.8TB, Linux (83) > > cryptsetup luksFormat /dev/nvme0n1p1 > cryptsetup open /dev/nvme0n1p1 luks > mkfs.ext4 -L system /dev/mapper/luks > > mount LABEL=3Dsystem /mnt > mkdir /mnt/etc > > herd start cow-store /mnt > > (bootloader > (bootloader-configuration > (bootloader grub-bootloader) > (target "/dev/nvme0n1"))) > (mapped-devices > (list (mapped-device > (source (uuid "...")) > (target "luks") > (type luks-device-mapping)))) > (file-systems > (cons* (file-system > (mount-point "/") > (device "/dev/mapper/luks") > (type "ext4") > (dependencies mapped-devices)) > %base-file-systems))) > > guix system init /mnt/etc/config.scm /mnt > reboot > > After inserting password to decrypt, I hit enter in boot menu, laptop fre= ezes. > > Attached are pictures from GRUB. > > Best Regards, > J > > =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original = Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 > On Tuesday, May 25, 2021 2:12 PM, Juraj Hlista juraj@juraj.me wrote: > > > I installed Guix again, there is just single 2TB encrypted partition wi= th ext4 on top. > > When booting, there is a prompt asking for a password to decrypt the pa= rtition, then there is the boot menu. When hitting enter the laptop gets st= uck again just like before. > > Seems like an issue with grub? > > =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Origina= l Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80= =90 > > On Tuesday, May 25, 2021 1:19 PM, Tobias Geerinckx-Rice me@tobias.gr wr= ote: > > > > > Juraj, > > > Juraj Hlista =E5=86=99=E9=81=93=EF=BC=9A > > > > > > > mount LABEL=3Dsystem-root /mnt > > > > mkdir /mnt/etc /mnt/boot > > > > mount LABEL=3Dsystem-boot /mnt/boot > > > > > > Guix System doesn't support a separate /boot partition. Seehttp://iss= ues.guix.gnu.org/48172. > > > I'll leave this bug unmerged with that one until we're sure that's yo= ur only issue: > > > > > > > I also tried to use unencrypted root partition (basically the > sam= e as above, but without LUKS) and it works. > > > > > > Also with separate /boot? If so, maybe GRUB happens to look in the wr= ong right place (/ instead of /boot), or something else is going on. > > > Kind regards, > > > T G-R