From mboxrd@z Thu Jan 1 00:00:00 1970 From: ison Subject: bug#36942: Reconfigure broke GRUB Date: Mon, 5 Aug 2019 20:35:18 -0600 Message-ID: <20190806023517.uvf7ukp3qprsfvpv@cf0> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52730) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hupKX-0004Zz-Vk for bug-guix@gnu.org; Mon, 05 Aug 2019 22:36:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hupKW-0002EO-0K for bug-guix@gnu.org; Mon, 05 Aug 2019 22:36:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55498) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hupKU-0002DZ-BN for bug-guix@gnu.org; Mon, 05 Aug 2019 22:36:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hupKU-0006dM-8T for bug-guix@gnu.org; Mon, 05 Aug 2019 22:36:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:52646) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hupJv-0004VB-0j for bug-guix@gnu.org; Mon, 05 Aug 2019 22:35:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hupJt-0001sl-RH for bug-guix@gnu.org; Mon, 05 Aug 2019 22:35:26 -0400 Received: from cock.li ([2a06:1700:0:b::c0cc]:59670) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hupJt-0001rW-9k for bug-guix@gnu.org; Mon, 05 Aug 2019 22:35:25 -0400 Content-Disposition: inline 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: 36942@debbugs.gnu.org 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)) 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? 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.