unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Mathieu <matf@disr.it>
To: 67218@debbugs.gnu.org
Subject: bug#67218: Reconfiguring from chroot to fix Grub/boot partition fails because D-bus crashes
Date: Thu, 16 Nov 2023 01:30:51 +0100	[thread overview]
Message-ID: <abe726fe-4ad0-4717-9dde-b291ef251180@disroot.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1842 bytes --]

Dear Guix users,

For some reason, still to be understood, my EFI partition is no longer detected at boot and I cannot boot my existing Guix System. I could confirm that the Guix partition (encrypted) is fine, but my BIOS won't detect any bootable partition. Turns out my `/dev/nvme0n1p1` partition only contains a single file: `EFI/Guix/grubx64.efi`.

Then there is 3.72 GiB of unallocated space on the drive, and then `/dev/nvme0n1p3` which is my LUKS encrypted Guix root.

I tried following this guide: https://guix.gnu.org/manual/en/html_node/Chrooting-into-an-existing-system.html

I only had to add an extra step at the beginning to decrypt the partition with `cryptsetup luksOpen /dev/nvme0n1p3 cryptroot` and then mounted `/dev/mapper/cryptroot` to `/mnt` before following the next instructions.

Unfortunately, the last step of the guide, `guix system reconfigure /path/to/config.scm`, fails because D-bus crashes, which in turn breaks all my network interfaces (they all are toggled "DOWN" and won't get a IP when I turn them up again), and ultimately the `guix system reconfigure` cannot work either without an Internet connection.

This is what `/var/log/messages` say when I run the last step at 22:51: https://0x0.st/Hv2f.jpg

This looks like a bug since I did everything the guide indicates. Can anyone reproduce it and confirm that chrooting into an existing Guix installation to reconfigure and rescue the system does not work? Is there something missing in the how-to to prevent the D-bus crash? Would there be another way to save my system, i.e., reinstalling Guix from scratch on another SSD and then `dd` the LUKS partition from the broken SSD onto the root partition of the new one?

Any help would be welcome, as it'd give me hope that I can save my system and data. Many thanks in advance!

Kabouik

[-- Attachment #2: Hvev.jpg --]
[-- Type: application/octet-stream, Size: 3723635 bytes --]

             reply	other threads:[~2023-11-16 22:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-16  0:30 Mathieu [this message]
2023-11-17  4:38 ` bug#67218: Reconfiguring from chroot to fix Grub/boot partition fails because D-bus crashes Oleg Pykhalov

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=abe726fe-4ad0-4717-9dde-b291ef251180@disroot.org \
    --to=matf@disr.it \
    --cc=67218@debbugs.gnu.org \
    /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).