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 eBsvJHnO2mWvOgAA62LTzQ:P1 (envelope-from ) for ; Sun, 25 Feb 2024 06:22: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 eBsvJHnO2mWvOgAA62LTzQ (envelope-from ) for ; Sun, 25 Feb 2024 06:22:01 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=dDfIbWHx; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708838521; 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=38wvRoiHnBF7zU9GZ1d/xFzcxuMADLBxK4jTL+ydfqo=; b=Rdm7AdFNf/6fNG+JToOAsBvr8iF4C9KDyGF+7/BsCtFTT7syylkzB48uO6IQy23JtmKd1y kl5lsNk0DVIsZ/0esnH5AOwdEjoZhzoNzqFISx6SzNPSlU3wxnPtVcbgrmGNZYMrak/uGX pEBhMFPzZZaXw376yOsVncdvIaPT9aa1F1j4eEHnbkYS2qj1r768ogsmLrp2P7iJzGV87i paxwGS3CZ/7PVGOSSHKicchw1sPKxFMGv3kYPYPW0dDM+MvGZeqynDZlmsinoJJNoD47e3 VxzV8t+9snp25B0zTEjVWLdJgh740itjW5Wxjm5dfOVZmDwxV1KtMly8hOrV5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=dDfIbWHx; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708838521; a=rsa-sha256; cv=none; b=p2gHr1fMiJN0hEOmoKBpDLiZReDeVfe7JrVASoejktl8eZX/7kZr+Nc1kIMfVsoya8fJkY xKzgTSXDJfHPZI8buWe5iUW9kMQsYyKUPLCin+FE32/E6GDMB3k2ugKwOcEpEBTNligrQd xA0cEeCu6ueMjvIjtV+X//gvRT9qjyBZiw/JHE/rhxr0bsXVHcVwFCIVF7ry20tD5oxQQM YWT9uPL8p5Ek2Y0p24JL4uxX4mH0ArxW4CksFgIflJ2yAQBgp2Oo45ugn2ibym9/LKtUEg e5OCUVhlHjCBMgdH3nfhJiSMs/EGqALX1zfPehYI0vo26R0Gwy0YCUV11rtQJA== 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 598036ED78 for ; Sun, 25 Feb 2024 06:22:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1re6xH-0000QS-JK; Sun, 25 Feb 2024 00:21:39 -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 1re6xF-0000QJ-Sk for bug-guix@gnu.org; Sun, 25 Feb 2024 00:21:37 -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 1re6xF-00044p-Ku for bug-guix@gnu.org; Sun, 25 Feb 2024 00:21:37 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1re6xd-0007ks-Lq for bug-guix@gnu.org; Sun, 25 Feb 2024 00:22:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#69319: Unbootable, unfixable system Resent-From: Nathan Dehnel Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 25 Feb 2024 05:22:01 +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: Hilton Chain Cc: Josselin Poiret , 69319@debbugs.gnu.org Received: via spool by 69319-submit@debbugs.gnu.org id=B69319.170883851229776 (code B ref 69319); Sun, 25 Feb 2024 05:22:01 +0000 Received: (at 69319) by debbugs.gnu.org; 25 Feb 2024 05:21:52 +0000 Received: from localhost ([127.0.0.1]:40456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1re6xT-0007k7-RA for submit@debbugs.gnu.org; Sun, 25 Feb 2024 00:21:52 -0500 Received: from mail-oi1-f181.google.com ([209.85.167.181]:45283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1re6xQ-0007jc-4D for 69319@debbugs.gnu.org; Sun, 25 Feb 2024 00:21:49 -0500 Received: by mail-oi1-f181.google.com with SMTP id 5614622812f47-3c19aaedfdaso289254b6e.2 for <69319@debbugs.gnu.org>; Sat, 24 Feb 2024 21:21:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708838418; x=1709443218; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=38wvRoiHnBF7zU9GZ1d/xFzcxuMADLBxK4jTL+ydfqo=; b=dDfIbWHxVSJUdW1BOYGJ00F+L2JqABw+rxE8UaXiHmgYrfy0x1ECU+IRCqQppEPBf0 dOx9D0fdJ3XQJMUn0Bgevs6cMVZ4I79oFqZL0MUg6JJ/bhpsUDhYSgMs5ThcasGI9nQd 7RAqYCY5miV4O8eYgX6OgUeazBfCLxtCdmr/CY0IVvvDy85QBd0OXuHy/xxlSU1iqfYU UJCdeozohnjykrTxQMSRE8gIPw4BeQfZfUcgat55Pvbfpahtn9ZSUmvhkSrtztxV/+Iu X1F+lcgcwkVew+JOXNLpWPJJNdEQ5eYvdnIDL5nkBzb6o645Lu+MshKyitOphMJL1YEZ Uwhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708838418; x=1709443218; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=38wvRoiHnBF7zU9GZ1d/xFzcxuMADLBxK4jTL+ydfqo=; b=v+Pk2kixaNUST+9z0kkPgGEMw12QPpGF6dRf/gliT32W9I21vBJc3oiWSH6iHNwbtg SQcybbHaheYd6gIJvehBQBV8VFddhIL7mKiXYmTuvrJlBBJqW2iEqE1ICbqVwlSOgP1z I/LjN+5XO/2wEEo4C0RfM1fTcj9SxG7y6GxNVj+vHB6xdZtAUyReLmHYGpLoxYRmnmzK TtxawZJwHgSI57YVlMukFJbW8Te06g5r62rWuI4Y3qvbxR1lIC9D5oRpkPEHILce5UP8 OOAE4aKi8tPdHa9i7R0leWC2R6naonMv4ZcWleM9JzOaX6OZtbf54B9XRvV9gAuefhBL 3ICw== X-Gm-Message-State: AOJu0YyDF9k2bF5VtSsagAXFO8S9dUYRukyOupXM4M8DjdIw3zSQZhhw z2bveMQAnirNl81DY/dzNllHAkPwPsS7Mmd3Q0O1RSiltQydA0/iXmGEBUmqI76+YIDVOzyvspn mqeK+pMcg48ND8HGfe49uQQ2BPBc= X-Google-Smtp-Source: AGHT+IE5LobJ3BKzW67RDhX03/jHpObBgoN1PQRgmBMh2pfeuxxraE6sxJas5KrnYfVeE8CzXrR956IacpG+nvMUvI0= X-Received: by 2002:a05:6871:4083:b0:21e:a71f:d7f4 with SMTP id kz3-20020a056871408300b0021ea71fd7f4mr5081477oab.11.1708838417669; Sat, 24 Feb 2024 21:20:17 -0800 (PST) MIME-Version: 1.0 References: <87edd15jw7.wl-hako@ultrarare.space> In-Reply-To: <87edd15jw7.wl-hako@ultrarare.space> From: Nathan Dehnel Date: Sat, 24 Feb 2024 23:20:06 -0600 Message-ID: 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: , 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: -3.31 X-Spam-Score: -3.31 X-Migadu-Queue-Id: 598036ED78 X-TUID: jBtdfHEN2RtC I tried that and it didn't work, I had to use --type=3Dluks1 On Sat, Feb 24, 2024 at 8:59=E2=80=AFPM Hilton Chain = wrote: > > 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 whic= h > > > > 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" "= video"))) > > > > %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.= pub")) > > > > ("root" ,(local-file "ssh/baksnapper-gentooserver.p= ub")) > > > > ("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 LUK= S2, 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 it= s > bootloader definition in my channel: > https://github.com/rakino/Rosenthal/blob/trunk/rosenthal/packages/bootloa= ders.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?