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, 06 Aug 2019 09:30:59 -0400 Message-ID: <87tvauxvxo.fsf@sdf.lonestar.org> References: <20190806023517.uvf7ukp3qprsfvpv@cf0> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58669) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huzcF-0002pm-D3 for bug-guix@gnu.org; Tue, 06 Aug 2019 09:35:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huzcE-0000JV-7F for bug-guix@gnu.org; Tue, 06 Aug 2019 09:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56007) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1huzcE-0000JM-44 for bug-guix@gnu.org; Tue, 06 Aug 2019 09:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1huzcD-0000fQ-V2 for bug-guix@gnu.org; Tue, 06 Aug 2019 09:35:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20190806023517.uvf7ukp3qprsfvpv@cf0> (ison@airmail.cc's message of "Mon, 5 Aug 2019 20:35:18 -0600") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: ison Cc: 36942@debbugs.gnu.org --=-=-= Content-Type: text/plain Hi ison, Thanks for opening a new ticket for tracking this. ison writes: > Continuing this issue from https://issues.guix.gnu.org/issue/36878 > > guix reconfigure recently broke GRUB for me. When rebooting I get > dropped to a "grub rescue>" shell with an error about > "grub_file_filters" being an unknown symbol. > If I try doing the usual commands to tell GRUB how to boot I just > see the above error repeated, or "unknown command" when I run > things such as insmod or "configfile". > > So to fix the problem I can boot to a Guix install disk and do > "guix init" which rebuilds the system using older package > definitions from the disk. > That allows me to get a working system, but if I do another > "guix pull" and reconfigure using the same config file it breaks > GRUB again when I reboot. "guix describe" shows that my latest > attempt was with commit 35600cd. > > Here is the bootloader and filesystem sections of my config: > (bootloader (bootloader-configuration > (bootloader grub-efi-bootloader) > (target "/boot/efi"))) > (file-systems (cons* (file-system > (device "/dev/sda2") > (mount-point "/boot/efi") > (type "vfat")) > (file-system > (device (file-system-label "guixsd-root")) > (mount-point "/") > (type "ext4")) > %base-file-systems)) This narrows it down quite a bit -- I suspect that we're broken for 'grub-efi-bootloader', since I've been able to successfully reconfigure with 'grub-bootloader' on both of my machines. > I should make a note that I usually don't use efi, and I'm not > completely confident it's all set up properly. I do have a > "BIOS boot" partition on /dev/sda1 too, is that even needed with > efi? I don't believe so. I think the ESP partition on /dev/sda2 is all you need. > Although, I have been using this setup, and the above > definitions, for about 6 months now without any bootloader or > filesystem issues. And the same config is being used to fix the > system when GRUB breaks as well as to reconfigure afterward > (causing the breakage). So my guess is some new update is the > culprit. It certainly sounds like it, and I'm the last person to have touched the bootloader installation code :) I'll look into this ASAP. Thanks again for the bug report! Regards, Jakob --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEa1VJLOiXAjQ2BGSm9Qb9Fp2P2VoFAl1JgRMACgkQ9Qb9Fp2P 2VpLCg/5ATK1puUb/E0fEl4gGa3+TMr3EvJBD+y4RO/b2acfM1ee4oKmk1DA9QKS WlVgUn0sFuJk09sm+tLoBle3CFDVRowSaAABvGEHw+LUZGUK1OoSm2pTvHBQoeU5 J/GbXmW54FdS4prmEN+iPTt9GDnfEjH0BlkBK3p5aLtXzf5alc6xUwTcqwxOaXad hRjabSgIXr/58BYhTVhPczohq1aXxEUOXJIt0Vt30ALwlT9Y/V/ocCNoJWDRnsql 2YI4Yu5h1JZp9K3MrMXyqXlp5HtETHnWB+xDvuo2tI120AO7M1fmHmNVzmw8ia/Q wTIqxF5xZJczmw5H+/8fO2pI9wWAOyCMczU6w7k27+1YCHhIgWtRA0cSU8gwGf06 QDS2xFkZ+ADDGzu/QD48cxonIjK8canlT0P7lfttvEdhIiIT3KcIEgJB6hTGewtw yDtBTG7CO9L27EjDJNGWWB2XUGCQmf/edoh64TEXlnku6c4ennI5g3zd5iqwddhI xqjNr+A9kz+5+q+Fr0WCbVoorMf9usDRnXkFsiYTteDRoLq/WVjQbmRYZ8nPgLej Tdwg9bWnBAN1iS6fB+wtJEQRJCXLl0luA0c0V8hpYofQ0EkYqWPleYRriAc9t92J ARrcOeKdUJZyFkuN3qNlWxzYW8/iT81nQkBQZceDwW5zBDv3Z5s= =NW4o -----END PGP SIGNATURE----- --=-=-=--