From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 SGCOD8aqkmSMTAAASxT56A (envelope-from ) for ; Wed, 21 Jun 2023 09:46:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gMC6DsaqkmTjagEAG6o9tA (envelope-from ) for ; Wed, 21 Jun 2023 09:46:14 +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 0B314126C2 for ; Wed, 21 Jun 2023 09:46:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBsXW-0000sn-Jw; Wed, 21 Jun 2023 03:46:06 -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 1qBsXT-0000nQ-Du for bug-guix@gnu.org; Wed, 21 Jun 2023 03:46:03 -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 1qBsXT-0007Y7-3O for bug-guix@gnu.org; Wed, 21 Jun 2023 03:46:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBsXS-0001EH-H8 for bug-guix@gnu.org; Wed, 21 Jun 2023 03:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64196: Can't boot due to discrepancy between reconfigure and init Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 21 Jun 2023 07:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64196 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Csepp , 64196@debbugs.gnu.org Received: via spool by 64196-submit@debbugs.gnu.org id=B64196.16873335374685 (code B ref 64196); Wed, 21 Jun 2023 07:46:02 +0000 Received: (at 64196) by debbugs.gnu.org; 21 Jun 2023 07:45:37 +0000 Received: from localhost ([127.0.0.1]:60544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBsX2-0001DV-Iq for submit@debbugs.gnu.org; Wed, 21 Jun 2023 03:45:36 -0400 Received: from jpoiret.xyz ([206.189.101.64]:43030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBsX1-0001DN-5j for 64196@debbugs.gnu.org; Wed, 21 Jun 2023 03:45:35 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id B3A05185420; Wed, 21 Jun 2023 07:45:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1687333532; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=iJp8zH0ZXJDdxyag3m4HRfpC2UlCUhSIwLz4TPY1BCU=; b=MNHW5rTlKeyrxStMh4sx8EDFyFox6lIPL9v0mxOwAn2I3kku6Tqd/qSkKlCnn9tzMbNXej CjlWwR4FSMzb1zSJ6GunDZo8DfIhhj4JHv9Zl4RXKGA6jTtA+fkD5VzjY4hx880rN85y5o M1FCspDFOwo40U6WQ5mDm5dXr3TBiqBHz/CD260VmkXCqXnHRiuJjeeXoMvKnChxxeFTV/ f+ksE5RYWqQZkOIpq+dU6RlqNv4hLSc0KyxaWs5CaKVWauFe4tVDS7yNrCyD8MydCk37+L /65qm3ck7WCIH07MqrfbgYVdeX5lptulXDttGJrtigzWoasdtTFr6Y8THL8qag== In-Reply-To: <87jzvxrk94.fsf@riseup.net> References: <87jzvxrk94.fsf@riseup.net> Date: Wed, 21 Jun 2023 09:45:30 +0200 Message-ID: <87legd45t1.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: Josselin Poiret From: Josselin Poiret 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687333574; h=from:from:sender:sender:reply-to: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:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=iJp8zH0ZXJDdxyag3m4HRfpC2UlCUhSIwLz4TPY1BCU=; b=PFxk5pVyuIlxCKWSd+ig4TygTSueVNMigBbUkYzH9WMIIwdk81ZbZbZnmOX98LwDvAHOtn kCcRUS5vLdu6XSpTwQLF4eOY6SSQZ41kVwdVUObO/kVcb5y42sG0M7q1oFOugkWrjlCvSJ ovRAzlEQbvAb6agYj6Qr4f9oGS8drMr3KKTvdjlNiytJf9pPPBPwkSdM/jKU0PyttTmMUz ZoQVuAkTieVfgmyun9oExI24lelCoY2ZgQxyNqJY33aXJMK8L4LQbLIOkYabAMx+7l8u8L xwh0WVKmjhcvuP5hFc2xlMMAVB6HEFhEnaKO0qR84RH+it4iKKzsLPHbUMAxVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=MNHW5rTl; dmarc=pass (policy=none) header.from=gnu.org; 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=1687333574; a=rsa-sha256; cv=none; b=JPjBuo3NaiLX4K/MsVyg0OOaEt3Io4mYLenQFosvN1ftWjHmqjhw0RfRnPO/qT/TKbTSh6 fQP02MtKPpgjDTXkhPpHPstFQrvUfSo9LDMpU9Bra9ajEGb+xNR02qMEBeo510s0r5+frE Jk6YEqcAGXz6xqYPBAANI0SZ7P0NIw0F6F0V8hzwohEmQI4uVbI1Lh6az/2oHJiCeoNbRl ykPNzXE94/RTLDWXFAewoOfLBcEgP3YCu3c+mVV4nrX5lHCj/UiCNIjw9Rmwz58S7mbs6V xk1+JeK/rns9OTr1QOR5wwMADqlPBhTv+UjW/M06kWz6RfK2HrNreahgMrCQrg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -5.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=MNHW5rTl; dmarc=pass (policy=none) header.from=gnu.org; 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: 0B314126C2 X-Spam-Score: -5.35 X-TUID: BS8CGNoh8V1A --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Csepp, Csepp writes: > 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. Any reason you didn't try in the reverse order? This seems prone to error. > 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. This is too fuzzy to be actionable, but if you manage to reproduce reliably then I would gladly take a look at it. > 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. I don't think there is, the biggest difference is that `guix system init` will copy stuff into the target store and initialize the basic directories for Guix, whereas reconfigure will just build everything in the current store. Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmSSqpoQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5Fhcaiq7RDAC5MHCJVgd3EzvWy4HusWs2ywThOU4trY21 lTmz78YbOhq3JT7GYq1xw/lxIY+UDvQ5e3tGT6v7cDSytR3f8EAYI9sTAcJdVTpN pKXKLoql80nxxsoZyzwjVyv5xNr4mo3J4wRQaMdy8XxR5oOOZjhLwWPe3RI6qfdY yDPfRJd1G96ChBth1Z5D5rE6a86lGqW1HaiC1unE2m+XQZfeOZI7FClVSDqN72zT hQcspVbbdl5mMOlKCH4sDBACsnnU94LiYNWifFV6k9S+zmZ3lG5ewEm9PULxwor0 Jt5WTqvdAR80K9T8kK3g1i0uHUw1dQoljHjLyt7eeUibW5YORTMRx9p5EznTofXe 7QqebhQRIV0lgNNxmcWUz/lh1N7jJvmrHwjvaLN5rRBcyANevkt7EYV7z9sA0GLz oTNusl4mEPS8VFvZJFr0gyoISzUg8Ut3svaydCi19rCntsuuGAICM13rTNNDaGWh 1wLUqHejcjirzx9k35OvUmkmWpyo0+o= =fhIA -----END PGP SIGNATURE----- --=-=-=--