From: Josselin Poiret via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Csepp <raingloom@riseup.net>, 64196@debbugs.gnu.org
Subject: bug#64196: Can't boot due to discrepancy between reconfigure and init
Date: Wed, 21 Jun 2023 09:45:30 +0200 [thread overview]
Message-ID: <87legd45t1.fsf@jpoiret.xyz> (raw)
In-Reply-To: <87jzvxrk94.fsf@riseup.net>
[-- Attachment #1: Type: text/plain, Size: 1777 bytes --]
Hi Csepp,
Csepp <raingloom@riseup.net> 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,
--
Josselin Poiret
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]
next prev parent reply other threads:[~2023-06-21 7:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-20 18:38 bug#64196: Can't boot due to discrepancy between reconfigure and init Csepp
2023-06-21 7:45 ` Josselin Poiret via Bug reports for GNU Guix [this message]
2023-06-21 22:08 ` Csepp
2023-06-22 7:35 ` Josselin Poiret via Bug reports for GNU Guix
2023-06-24 18:01 ` Csepp
2023-07-26 22:42 ` Csepp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87legd45t1.fsf@jpoiret.xyz \
--to=bug-guix@gnu.org \
--cc=64196@debbugs.gnu.org \
--cc=dev@jpoiret.xyz \
--cc=raingloom@riseup.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).