From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CHrlMxGv2mX4+QAA62LTzQ:P1 (envelope-from ) for ; Sun, 25 Feb 2024 04:08:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CHrlMxGv2mX4+QAA62LTzQ (envelope-from ) for ; Sun, 25 Feb 2024 04:08:01 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=tRD08Eab; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708830481; 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=1n17gUTS5kO8ZG2nXSRzvKJWx5oamshUD/wvCeQBqTg=; b=LoT9aXihQ+mJtRtTtARrkwVNdzi7c0m5N/cptYm9U/rLgcBZvFHw4OMdY4CD2cMGXL3SfM S66eNn1oOXLK75Z3u5RvZ7IdvL+hZzTOGSFhqUjK3Ym0Z3mBcGZfzcwsIbhtBT8DFaZ1BV OOpkTKdKLqVK0EHU3eLlg4sQD4U5zULfeBLbPvFdRQK7YRpDztoD0YVVR2V5xLmDdXL6ou MZNF8IVggUuCfMTqoEnb5z/GYMCqnpQOVTu9lkVUxxUkWnvd7cPGg6SN5QHB2xQTCfzcve zMopsvIBc434Gut9UC9v7TJoCb8ajpdkUsNH1YsXPVeCFHh6406V6kpl+HMAfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=tRD08Eab; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708830481; a=rsa-sha256; cv=none; b=ZaPRHSzAZtVPUT/U0Jun/ZNa6h4zKEIaHp5o5UTk9vrPQF6krdvw0bgH3WV9VlCQmh93mn kge21S5VvevDu7xFb6eB3d+y4nJ9O9GGgwUHYEZK77JIuTAsbU6i/HO/ufNf2FrjJSV21T /VGpOdVHmpzo7XI20t93JapE1TTNqv/mOoabSrIdO8J/1GMI1kb376tQhddsqoJU9ZlSAX gMlWkT9lPrGhSNBKLe+s+Jc6aBE32KV1SB8ax7ASr7KmEKk8ZAd41Nxtd/OflHoTompPUy IsS6gEqIADWLZQFbFKidfN+62l8UddBl6H7DnE/ySdSb6fwET1IiKqRkZA5kDQ== 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 6B98A6BE39 for ; Sun, 25 Feb 2024 04:08:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1re4rc-000525-25; Sat, 24 Feb 2024 22:07:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1re4ra-00051q-JB for bug-guix@gnu.org; Sat, 24 Feb 2024 22:07:38 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1re4ra-0000no-BD for bug-guix@gnu.org; Sat, 24 Feb 2024 22:07:38 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1re4ry-0008Lg-8c for bug-guix@gnu.org; Sat, 24 Feb 2024 22:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#69319: Unbootable, unfixable system Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 25 Feb 2024 03:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69319 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nathan Dehnel Cc: Josselin Poiret , 69319@debbugs.gnu.org Received: via spool by 69319-submit@debbugs.gnu.org id=B69319.170883046632025 (code B ref 69319); Sun, 25 Feb 2024 03:08:02 +0000 Received: (at 69319) by debbugs.gnu.org; 25 Feb 2024 03:07:46 +0000 Received: from localhost ([127.0.0.1]:58491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1re4rh-0008KN-4V for submit@debbugs.gnu.org; Sat, 24 Feb 2024 22:07:45 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:42044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1re4rd-0008K0-18 for 69319@debbugs.gnu.org; Sat, 24 Feb 2024 22:07:42 -0500 Date: Sun, 25 Feb 2024 10:59:20 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1708829953; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=1n17gUTS5kO8ZG2nXSRzvKJWx5oamshUD/wvCeQBqTg=; b=tRD08EabL1jrSkm7sJMouBBQ9EVica338YJ2Q/hwOT66Cb4v0eABEMxqMQVb5mdYn3MaMy lA//ZL+FspNVIgtJ14F7jmljo5P7hhV3JdQRuGwNqgDsra1cq+3KLuoNJF6+UdyEQFrVwG mfFDv2XCrcRmAU8cqD9LK6q7kx299GkkcSDEzAD/FlRA7tizDBH+tlwtb+5AFe522TjueI POXKhH1O6uKbP/VuN89oLS9yn7PQdqp+7N4f5RmzQ5ycT7MTSuy91G1SdS5SiWh0wW4wDA mDBFa92YWzKYyX+TLcOY9KIirRzxbnheQnSjXQJm5OnegOviR5xjGjMXXkHojw== Message-ID: <87edd15jw7.wl-hako@ultrarare.space> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / 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: , Reply-to: Hilton Chain From: Hilton Chain via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.91 X-Spam-Score: -4.91 X-Migadu-Queue-Id: 6B98A6BE39 X-TUID: pl30SzeQ2o2J Hi Nathan, On Sun, 25 Feb 2024 08:48:35 +0800, Nathan Dehnel wrote: > > On Fri, Feb 23, 2024 at 11:17=E2=80=AFAM Nathan Dehnel wrote: > > > > On Fri, Feb 23, 2024 at 1:15=E2=80=AFAM Nathan Dehnel wrote: > > > > > > This config results in grub rescue "unknown filesystem > > btrfs rootfs>" when I try to boot it. I have verified that all the > > > device uuids are correct, and the bootloader, mapped-devices, and > > > file-systems sections are identical in form to my other system which > > > boots fine. i can mount the boot partition and unlock and mount the > > > root partition manually, so they're not broken. I have no idea why > > > it's not working. My guess is that reconfigure is broken inside a > > > chroot somehow. > > > > > > (use-modules (gnu)) > > > (use-service-modules networking ssh sysctl shepherd base) > > > (use-package-modules vpn linux) > > > (use-modules (nongnu packages linux) > > > (nongnu system linux-initrd) > > > (gnu services) > > > (guix packages) > > > (gooby-channel packages baksnapper)) > > > (define bashrc > > > (local-file "../bashrc")) > > > (define nanorc > > > (local-file "../nano/nanorc")) > > > (operating-system > > > (kernel linux) > > > (initrd microcode-initrd) > > > (firmware (list linux-firmware)) > > > (locale "en_US.utf8") > > > (timezone "America/Chicago") > > > (keyboard-layout (keyboard-layout "us")) > > > (host-name "guixoffline") > > > (bootloader > > > (bootloader-configuration > > > (bootloader grub-efi-bootloader) > > > (targets '("/boot/efi1")) > > > (keyboard-layout keyboard-layout))) > > > (mapped-devices > > > (list (mapped-device > > > (source > > > (uuid "14930dad-016d-4b59-b7d8-d5af2c33f4b0")) > > > (target "offline1") > > > (type luks-device-mapping)) > > > )) > > > (file-systems > > > (cons* (file-system > > > (mount-point "/boot/efi1") > > > (device (uuid "3339-DAE2" 'fat32)) > > > (type "vfat")) > > > (file-system > > > (mount-point "/") > > > (device "/dev/mapper/offline1") > > > (type "btrfs") > > > (options "compress=3Dzlib:9") > > > (dependencies mapped-devices)) > > > %base-file-systems)) > > > (users (cons* (user-account > > > (name "nathan") > > > (comment "Nathan Dehnel") > > > (group "users") > > > (home-directory "/home/nathan") > > > (supplementary-groups '("wheel" "netdev" "audio" "vi= deo"))) > > > %base-user-accounts)) > > > (packages > > > (append > > > (specification->package "btrfs-progs") > > > (specification->package "parted") > > > (specification->package "mdadm") > > > (specification->package "git") > > > (specification->package "nss-certs") > > > (specification->package "nix") > > > (specification->package "efibootmgr") > > > (specification->package "smartmontools") > > > (specification->package "iotop") > > > (specification->package "bcache-tools") > > > (specification->package "lsof") > > > (specification->package "wireguard-tools") > > > (specification->package "baksnapper") > > > (specification->package "file") > > > (specification->package "rsync")) > > > %base-packages)) > > > (services > > > (append > > > (list > > > (service openssh-service-type > > > (openssh-configuration > > > (permit-root-login #t) > > > (password-authentication? #t) > > > (authorized-keys > > > `(("root" ,(local-file "ssh/root-gentoodesktop.pub")) > > > ("root" ,(local-file "ssh/baksnapper-gentoodesktop.pu= b")) > > > ("root" ,(local-file "ssh/baksnapper-gentooserver.pub= ")) > > > ("root" ,(local-file "ssh/nathan-guixlaptop.pub")) > > > )))) > > > (service connman-service-type) > > > (service ntp-service-type) > > > (service gpm-service-type) > > > (simple-service 'nanorc etc-service-type > > > (list `("nanorc", nanorc))) > > > ) > > > %base-services))) > > > > It seems I may have fallen for the grub luks2 compatibility issue, > > which I didn't know about. I will investigate later. > > > Yeah, that was the problem. GRUB currently doesn't support Argon2 PBKDFs, if you are going to use LUKS2= , you have to specify pbkdf2: --8<---------------cut here---------------start------------->8--- cryptsetup --type=3Dluks2 --pbkdf=3Dpbkdf2 --8<---------------cut here---------------end--------------->8--- In case it's needed, I packaged a GRUB variant with Argon2 support and its bootloader definition in my channel: https://github.com/rakino/Rosenthal/blob/trunk/rosenthal/packages/bootloade= rs.scm https://github.com/rakino/Rosenthal/blob/trunk/rosenthal/bootloader/grub.scm I re-installed my system with this GRUB variant (also intended to test it) recently, and it works just fine. I think this bug can be closed now?