From mboxrd@z Thu Jan  1 00:00:00 1970
From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze)
Subject: bug#36942: Reconfigure broke GRUB
Date: Fri, 16 Aug 2019 10:36:51 -0400
Message-ID: <874l2hmb24.fsf@sdf.lonestar.org>
References: <20190806023517.uvf7ukp3qprsfvpv@cf0>
 <87tvauxvxo.fsf@sdf.lonestar.org> <87o912duoo.fsf@sdf.lonestar.org>
 <20190807191628.qm3mmpmkobumhsx4@cf0> <87imr8n4lc.fsf@sdf.lonestar.org>
 <20190807223655.heflhqiwjwfp7dr2@cf0> <87r25nr0gn.fsf@sdf.lonestar.org>
 <20190815112039.d5x4ondia6osghq5@cf0>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
Return-path: <bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([2001:470:142:3::10]:48543)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hydMh-0002dm-JV
 for bug-guix@gnu.org; Fri, 16 Aug 2019 10:38:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hydMg-0002CQ-FT
 for bug-guix@gnu.org; Fri, 16 Aug 2019 10:38:03 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:45898)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1hydMg-0002CM-CG
 for bug-guix@gnu.org; Fri, 16 Aug 2019 10:38:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hydMg-0003WG-7y
 for bug-guix@gnu.org; Fri, 16 Aug 2019 10:38:02 -0400
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-Message-ID: <handler.36942.B36942.156596623113462@debbugs.gnu.org>
In-Reply-To: <20190815112039.d5x4ondia6osghq5@cf0> (ison@airmail.cc's message
 of "Thu, 15 Aug 2019 05:20:40 -0600")
List-Id: Bug reports for GNU Guix <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-guix>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=subscribe>
Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org
Sender: "bug-Guix" <bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org>
To: ison <ison@airmail.cc>
Cc: 36942@debbugs.gnu.org

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

ison <ison@airmail.cc> writes:

> Sorry it took me so long to reply, I didn't have access to the broken
> machine until now.

No worries :)

> As you requested here is the partitions as listed by parted:
>
> Number  Start   End     Size    File system     Name    Flags
>  1      1049kB  3046kB  2097kB                  grub    bios_grub
>  2      3146kB  540MB   537MB   fat32           efi     boot, esp
>  3      540MB   2588MB  2048MB  linux-swap(v1)  swap
>  4      2588MB  750GB   748GB   ext4            guixsd

Hm. Nearly the same as what I had, though my partitions had different
sizes and I didn't have a swap partition. I may try again with this
exact setup when I get back to the United States just to see what
happens.

> /boot/efi looks ok as far as I can tell at least. It's tree is:
> /boot/efi/
> =E2=94=94=E2=94=80=E2=94=80 EFI
>     =E2=94=9C=E2=94=80=E2=94=80 grub
>     =E2=94=82   =E2=94=94=E2=94=80=E2=94=80 grubx64.efi
>     =E2=94=9C=E2=94=80=E2=94=80 Guix
>     =E2=94=82   =E2=94=94=E2=94=80=E2=94=80 grubx64.efi
>     =E2=94=94=E2=94=80=E2=94=80 GuixSD
>         =E2=94=94=E2=94=80=E2=94=80 grubx64.efi
> All 3 grubx64.efi files differ from each other and are around 120kb.

Interesting... I only have '/boot/efi/EFI/Guix'. Do you have a
'/boot/grub'?

> But considering you can't reproduce the issue would it be a good
> idea for me to reinstall and see if I can even reproduce it?
> Although I think this time I would leave off the bios_grub partition
> I'm willing to keep testing the current bug if it's important or
> indicative of a more serious problem. But please don't feel
> obligated to keep working on this just for me, I'm perfectly fine
> just reinstalling. The issue doesn't seem to affect my desktop
> anyway, I was able to upgrade it smoothly.
>
> It's always possible the issue was caused by some strange
> combination involving the patched bug, from earlier in the
> discussion, and my weird partition layout. Might not even be worth
> investigating unless it happens to someone else
> (or me again after a fresh install).

I think it may be indicative of a more serious problem, since you
mentioned that this was fine up until the commit refactoring 'guix
system reconfigure'. If you're willing to reinstall and see if you can
reproduce it, that maywould be helpful -- you could send me the relevant
'install-bootloader.scm' store item if it breaks again.

Thank you very much, ison. I appreciate your cooperation here greatly.

Regards,
Jakob

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEa1VJLOiXAjQ2BGSm9Qb9Fp2P2VoFAl1Wv4MACgkQ9Qb9Fp2P
2VqRLw/8DG+P3vVVEpmLx777nQpV6nrkazz6KtUcTgqmndpsKuuiGP6b/t65KNc2
QfWed7e+h+G9y+kTPVTPkGqSnT5Q2Iu3bOlfcSe3cmxzWMW2aREiYAJezJLyznQe
2dR8z1mvJTR0f8MpSa4bWaHFhVrKmGcjr8Yc3W2PadyuMMSB1UN4KcdVBL/wLEzq
/UjCSIDwc5PNauCdOwvZ+C+fbgyo1hNdOkDuGOjIuip2qPUOiwwdquXfI3R3egCN
5+rWtZzpEvehAiIZ7xsRqsYGSPNNOXmdVvjoUGrFchpkAaA3gNJNo858qLXGGBO4
lVtZglNU+i+lGAHEXmlHsdhNUR5OvrN5sIrqMHn3pLVDtq0/0fyZkdSpUSeb89bF
WEMi3NniDf+qhw5pmczqH3VAiIbguaudKGhHLNr+o997UnVAqr1uXFri7mi3v1oz
SO13lwUyeW7/jffq4nV8VVoFcgdKETRLRNHo/jzyw20xnfTOxOq49xei1jDHP/La
2GndHSP1F2VhUlodCA04PsYAaN84dfAWnIzIElW33zBe6E5+FPaJXO3Fr7b5KOzT
EaeZl1hxrzxrDMnDd3b0mmNJhYAY6RivJQjOWcTMcLCIA+2H260rY1QN25KBai4q
58JbnZHRSvbW0vDuqTdelEeTMzW9J+d7g8GkfVmwdiQtNK2b6cI=
=m8S9
-----END PGP SIGNATURE-----
--=-=-=--