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: Tue, 20 Aug 2019 12:51:11 -0400
Message-ID: <87r25fzsow.fsf@sdf.lonestar.org>
References: <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>
 <874l2hmb24.fsf@sdf.lonestar.org> <20190816233426.xbo3wwu3prgyg3h6@cf0>
 <87mug8c5xu.fsf@sdf.lonestar.org> <20190820142758.jfm6bmasroa6vmvf@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]:49062)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1i07QT-0004Zn-C7
 for bug-guix@gnu.org; Tue, 20 Aug 2019 12:56:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1i07QS-0001om-CT
 for bug-guix@gnu.org; Tue, 20 Aug 2019 12:56:05 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:53272)
 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 1i07QS-0001oa-8b
 for bug-guix@gnu.org; Tue, 20 Aug 2019 12:56:04 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1i07QQ-0004sP-Fv
 for bug-guix@gnu.org; Tue, 20 Aug 2019 12:56:04 -0400
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-Message-ID: <handler.36942.B36942.156632011318665@debbugs.gnu.org>
In-Reply-To: <20190820142758.jfm6bmasroa6vmvf@cf0> (ison@airmail.cc's message
 of "Tue, 20 Aug 2019 08:27:59 -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

ison <ison@airmail.cc> writes:

> So I attempted a re-install and surprisingly it still fails.
> I attempted 3 times. Using the graphical installer without efi,
> manual install without efi, manual install with efi. All downloaded
> and built everything successfully only to fail at the bootloader.
> If the problem was my config then I'd think my first attempt would
> have succeeded because the graphical installation automatically
> built the config file.
>
> At least it's giving an error this time:
> error: '/gnu/store/drz35fc...-grub-efi-2.02/sbin/grub-install --boot-directory /mnt/boot --bootloader-id=Guix --efi-directory /boot/efi' exited with status 1: output follows:
>   /gnu/store/drz35fc...-grub-efi-2.02/sbin/grub-install: error: /gnu/store/drz35fc...-grub-efi-2.02/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
>
> My bootloader is section is still:
>   (bootloader (bootloader-configuration
>                (bootloader grub-efi-bootloader)
>                (target "/boot/efi")))

This is perfect (I mean, not that it still doesn't work, but that we
have some error output). I think I know what's going on. The new 'guix
system reconfigure' uses G-Expressions, and it looks like Grub is being
ungexp'd for the wrong architecture. To be sure, what's the architecture
of this machine?

I'll investigate further and let you know what I find. Thanks again for
doing this.

Regards,
Jakob

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

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

iQIzBAEBCAAdFiEEa1VJLOiXAjQ2BGSm9Qb9Fp2P2VoFAl1cJP8ACgkQ9Qb9Fp2P
2VrXBxAAhxjYypzzaDarVbfsNdtwLoXByBpeqTDzHG+ecAWodQC+vhyhBtydZjfJ
Mzdc6gix3ui1ewDFwxfNqbvWuVdracV4rxT7SGM1rtopD1qV2ma69cmOEhE34kmc
hVrFTQeXE69axgjWqoUbeHk0zYCGezMouPS3vxoxSVx0OXmazKprjzu8Kq6DB/8V
oi97aFeazSNsmsy1phYJwhgq4IdN62QWE8WnBHOZZQyBIw53JzP2UE5Hbj789G9G
bD9eTAXF2c8Ak5aVOx1RWaDQWz6fGXl+o5sQ6pCMVOg3iKZ2SejzQDfAqybNE8DF
+REFtpoV3PAY64C4e7wHVjO5jMWBxacqSvektem952+Vu7DSKFsRkgDrZeBlvEvP
3VxrtvHf7l1V0JaidMDeqjPnedpcnHSWRDOyv/iDnZSwgCA3rIQ11I6AIalWh+U9
asX211D4xwGIR+M+HJ6uxnANDNbZU4+NV+haD3JcyUCDLK6O8zSU7ghpx5pZoH1O
5J/2bqAdW92riionTKpVSsIWtx0/wtQ+XdZEuZ4VwrsZS7yHUIHzPYHMk8uIyRij
GNoRE0IwPDmhuP/6JabVPPUCWeb9e+A5Gn5u1p3Ix1aXaNBsxyf/kMHodIYsXY4I
VCtYPQvLwMmAA2YHCaKy2zaK528aP9Jk3a8j6mEIRMHNqtoUpM4=
=Pa8r
-----END PGP SIGNATURE-----
--=-=-=--