From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UAgtFtgCkmTuGgEASxT56A (envelope-from ) for ; Tue, 20 Jun 2023 21:49:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eCUuFtgCkmQAdwEA9RJhRA (envelope-from ) for ; Tue, 20 Jun 2023 21:49:44 +0200 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 628B52EF16 for ; Tue, 20 Jun 2023 21:49:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBhJI-0000wS-UV; Tue, 20 Jun 2023 15:46:41 -0400 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 1qBhIl-000074-LG for bug-guix@gnu.org; Tue, 20 Jun 2023 15:46:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBhIi-0001Gx-0N for bug-guix@gnu.org; Tue, 20 Jun 2023 15:46:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBhIg-0003hi-Mv for bug-guix@gnu.org; Tue, 20 Jun 2023 15:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64196: Can't boot due to discrepancy between reconfigure and init Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 20 Jun 2023 19:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64196 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 64196@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168729033614189 (code B ref -1); Tue, 20 Jun 2023 19:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Jun 2023 19:45:36 +0000 Received: from localhost ([127.0.0.1]:59799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBhIG-0003gn-Dq for submit@debbugs.gnu.org; Tue, 20 Jun 2023 15:45:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:47614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBhIE-0003ga-9X for submit@debbugs.gnu.org; Tue, 20 Jun 2023 15:45:34 -0400 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 1qBhHv-0007cn-Ht for bug-guix@gnu.org; Tue, 20 Jun 2023 15:45:18 -0400 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qBhHr-00019o-RQ for bug-guix@gnu.org; Tue, 20 Jun 2023 15:45:14 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4QlxtV5jBmz9tJb for ; Tue, 20 Jun 2023 19:45:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1687290306; bh=OjHuLrMzIC6wmBn9HHYkuiHGU1Hy0L2nfnum9W0DZ40=; h=From:To:Subject:Date:From; b=Xa2YeaHBUqVxE5PTzHIMffC54Y9/I5XO7zB1PEs2naAzKBlI0wAXmtaWasystA6T4 L4xMbTAXUhbYwAboeMKUtmG+cgfYoxVvV8Bb1ATJERzUDAGxKTcU7LpbmQFvYgHgyN A/idRepMp0xNyinitrvGLSsZY/SSt1QSFs8xmESU= X-Riseup-User-ID: 44327C4729F980C664E1A3E6A5DE12DA045914230AD144193088DB54DA7485DE Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4QlxtV2FTCzFryn for ; Tue, 20 Jun 2023 19:45:06 +0000 (UTC) From: Csepp Date: Tue, 20 Jun 2023 20:38:58 +0200 Message-ID: <87jzvxrk94.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687290584; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=8YmdrOrZbv3dYvZKkbbw6b+k2dXrcxPPHlxO1A4yd8Q=; b=ZLUyUp/qLUHnN+2A79pYP/Hm+VqoeV2Ic+5pakHQ6x27LwQko1EI4POTsvTwdFfpsFuGIJ KhPezhTdEvDxTaLoArEtui7IfPaxtEBYtIN3RCZhVkWn2FlzKQuC6sMHpuxTC/8X7CMazZ oZpygty6CtSuHsf/FCFHO4TvEYN8VfV1qAVG4jt6ZOdQvD4hpwp7ray6Bgn2Vgzaqn1rOx h0caK8oV1RsQo7qSinb5IMQPpL3pOfdqLX5kwcrp7i93N/7Df/IEeooRGHBZxOyZp95VQN 5Xj+qYUc+iE7lRsZWGQb79x9ymoatzb7OeT+46ygUEK8RLXV5wcZ6V+RwtdTDw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=Xa2YeaHB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687290584; a=rsa-sha256; cv=none; b=YVEteKitrEOzAfBLJxb3RmHKsgmPtkhjiWBvJ5r9quXLa40Tf50scB41ZvjKrAgLP/ktCA JdgA8k7cS7Jd7XpHHsTTPtam2ikuUDDy/YmOkmTUIH+YKMXXGykRNc/ISasWteAsj93osM EEZcsDpu6GtiYHkJ9ByPLLvbBuiIrgMR0tTmmw6xM7Xe13uRaVQDdJepUJrDwA32WMy634 ggq63cU3Agf9AFIUwU3oj818+TtZGWsUIIgk21w/yiqKxPf3DRZvzR3mRDjw/hVAtQsswg 19qarBPJAVDGNUi9xMCGP4XvMTEKzXQ1F6v7kXVdpZeCP6mDCnp3F1WD0pFzbA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=Xa2YeaHB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); 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" X-Migadu-Queue-Id: 628B52EF16 X-Spam-Score: -2.44 X-TUID: oCdZHec+rAo6 I'm trying to move my installation from /dev/sda to /dev/sdb, I created the file system and changed the bootloader config in my operating-system definition to point to /dev/sdb and the file-system to use the correct UUID (previously it was using a label). First I tried to simply reconfigure my running system and then taking a BTRFS snapshot and copying that over the /dev/sdb1, but that failed. The exact error was GRUB not being able to find a file system with a given UUID, which matched the UUID of /dev/sda1. This error happened before GRUB loaded any of its modules, so I was dropped into a rescue shell. I thought this might be related to subvolumes, maybe I originally used the wrong config and the updated config was written to a different subvolume and GRUB doesn't recognize the default subvolume ID option on the BTRFS partition. I think this is a fairly critical error. The error doesn't manifest when I run guix system init with the same config, so there is some (possibly un(der)documented) difference between guix system reconfigure and guix system init that makes the former rely on the state of the running system in a way that doesn't take into account the new configuration. Is this intended behaviour for some reason?