From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OFdZFwmov2DSPAEAgWs5BA (envelope-from ) for ; Tue, 08 Jun 2021 19:25:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AKTGEgmov2CWXAAAbx9fmQ (envelope-from ) for ; Tue, 08 Jun 2021 17:25:29 +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 BEDAD1D970 for ; Tue, 8 Jun 2021 19:25:27 +0200 (CEST) Received: from localhost ([::1]:60454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqfTi-0008DV-3v for larch@yhetil.org; Tue, 08 Jun 2021 13:25:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqfTK-00086q-Vd for bug-guix@gnu.org; Tue, 08 Jun 2021 13:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48161) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqfTK-0005R4-O7 for bug-guix@gnu.org; Tue, 08 Jun 2021 13:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqfTK-0001BG-Dt for bug-guix@gnu.org; Tue, 08 Jun 2021 13:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48649: Guix doesn't boot with LUKS root partition Resent-From: Eric Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 08 Jun 2021 17:25: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: Juraj Hlista Received: via spool by 48649-submit@debbugs.gnu.org id=B48649.16231730764493 (code B ref 48649); Tue, 08 Jun 2021 17:25:02 +0000 Received: (at 48649) by debbugs.gnu.org; 8 Jun 2021 17:24:36 +0000 Received: from localhost ([127.0.0.1]:59707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqfSu-0001AP-0M for submit@debbugs.gnu.org; Tue, 08 Jun 2021 13:24:36 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:36343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqfSp-0001A7-Gw for 48649@debbugs.gnu.org; Tue, 08 Jun 2021 13:24:34 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 8A17A19EB; Tue, 8 Jun 2021 13:24:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 08 Jun 2021 13:24:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericcbrown.com; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type:content-transfer-encoding; s=fm2; bh= X5sfMaK9UIhhpnkaVFVfwhc49Ytg/zuGQU8ZRFb6R/0=; b=q/zM3vTQmWLoQqBX /uzIIqmxmaxsdoikZRGkYiWTreUhxbLcP+6q1BpRhcaA525z/XeqB8xLV2t9iM5a X2Lx663g2GgjW0h5lCsLnq+0L6J9ZDdXurAgsgj5ABE/e+kE8vDKxQLULCMGPabU 1MatFDsIOevqNYoUYxRzD1k0G5DG8d1PP+0B1D9u+hJ7U/+W5GPAnjfYu1Z7/rfa 8GCaezyUnzuSiGNxjxCd1QMGEAVus02NzQpQ0yJ0rstm3INJQjcJzhmHo4ajfqj6 i3/h/Sn2xi/HACAZYr+y6fkos7oZVuMBBRfG2foWFlTqTniiXWBpPmSB0XdS7xdt 5KKfjQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=X5sfMaK9UIhhpnkaVFVfwhc49Ytg/zuGQU8ZRFb6R /0=; b=izVQBoL+xKNBZOEgnBb7W1V0pmhraIPwyvsxJMzpr92bofuO9e3Rl7u7E V8E8t/Yb4EpYqV/4z1UNp2vRFoit+3EFZXIaHZ6S8aFqo2c85S4oKfLSwSvd2YQ1 LpGSsqFq3Z7wCPBW+c87TXIAIU7Q2dac4/lXM8o66ekzpSZ+G+gxx+q5y1dhhdVq uZtArbQTUX16CvGZzxx9H+d+usJsvYTzOpI2rc6w8tXQhqH1Nvxr0I+gMJdTuQSJ C9Sv5Z4D89XkNecXQCBkdyIvlPzi39Q5xKsxoVaU1hTeOL0Vwp9BJ1ZijtWuNLGj fKElnOhgeMYl0WM0DVll+0OfS5+zQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedtledgleekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufhfffgjkfgfgggtgfesthhqredttderjeenucfhrhhomhepgfhrihgt uceurhhofihnuceovggtsghrohifnhesvghrihgttggsrhhofihnrdgtohhmqeenucggtf frrghtthgvrhhnpeevgfejtdetlefhfeehheefuefggefghfegfedukeeihfeiuefhgfdt fffgvedvhfenucffohhmrghinhepghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegvtggsrhhofihnsegvrhhitggtsghrohif nhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 8 Jun 2021 13:24:23 -0400 (EDT) From: Eric Brown References: <87v977m574.fsf@nckx> Mail-reply-to: Eric Brown Mail-followup-to: Eric Brown Date: Tue, 08 Jun 2021 12:24:23 -0500 In-Reply-To: (Juraj Hlista's message of "Wed, 26 May 2021 09:23:20 +0000") Message-ID: <874ke8tgl4.fsf@ericcbrown.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=1623173129; h=from:from:sender:sender: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=X5sfMaK9UIhhpnkaVFVfwhc49Ytg/zuGQU8ZRFb6R/0=; b=YMiq8KRR1QwndBxE+uNiYU4qIg1HRccH7v1sROvpyxZ/YteMB2Uh7A8eznaxEE3TDhDsN4 a78O7KiYHSSnOZ9L8kobv8Z7KwPxaFTJmZzdsmOephQYKChZt1hCmIrsOQcK1ikqm7Bucb 75ANO7pewj8uCC73HDmtwkR3s7dw5NJVRnCEm9lw4mAlewKKSRk2ZO29vqGuP5CLYUtKM9 RW883kV22jBLwM1pCALcIcUcMZURPdWNbqAWL6Cibd6HFwk+tBdIZlTsaOfvd4bnC0sCYy Kk8ztWJ/pWldfN4CvT8j20fdzfA/CEbFezWiiKBRUYjlCKjqsQLzCnJUjA7oYA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623173129; a=rsa-sha256; cv=none; b=FfYiN0rYDiOtUtT/nJfFwtB9P31PMf2p+TiZ4FTzI+KgEljKDGlRSZ4zai5uxeB8SDagVI ZlGhNck1awOoZiwz5Fc9CM4KEOwWgJEHMB4ZBeo3zeK055eTniB23/qw+r4oCYGWcOCNGb vO6Syr/O1093PKlUAcZw1zsF1qUa2lo0CD6BHSuPeVxFWS0Dm9vP8gE+yki8BWgKYfs9Ku p7AixAQPxTeK4K+N1jkT0CwoUpvNqSe6F6qCDBRQHKUMTH2z6ziQD0UWdVfzDqTRssKalR 3YiBGo74EoRaozHv+j/qgonuXQv2eZX4Gxho7HDEV52/sOXGYjjyQZB37eQs8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ericcbrown.com header.s=fm2 header.b="q/zM3vTQ"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=izVQBoL+; 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-Spam-Score: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ericcbrown.com header.s=fm2 header.b="q/zM3vTQ"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=izVQBoL+; 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: BEDAD1D970 X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: fgwPdItyhQEe Juraj Hlista writes: > 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 = 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 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 fr= eezes. >> >> 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 w= ith ext4 on top. >> > When booting, there is a prompt asking for a password to decrypt >> > the partition, then there is the boot menu. When hitting enter the >> > laptop gets stuck 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 Origin= al 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 w= rote: >> > >> > > 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://is= sues.guix.gnu.org/48172. >> > > I'll leave this bug unmerged with that one until we're sure that's y= our only issue: >> > > >> > > > I also tried to use unencrypted root partition (basically the >> > > > > same as above, but without LUKS) and it works. >> > > >> > > Also with separate /boot? If so, maybe GRUB happens to look in >> > > the wrong right place (/ instead of /boot), or something else is >> > > going on. >> > > Kind regards, >> > > T G-R In my experience, missing video drivers will cause the system to freeze right when switching to GUI mode. You may try to append: nomodeset nosplash to the grub configuration and get past it, but you will be in "console mode" but at least you can take steps to get drivers. Two passwords: it's a wonderful idea. One for GRUB, which may contain secrets, and then one to unlock the disk.