GNU bug report logs -
#36942
Reconfigure broke GRUB
Previous Next
Reported by: ison <ison <at> airmail.cc>
Date: Tue, 6 Aug 2019 02:36:02 UTC
Severity: serious
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 26 Aug 2019 12:20:04 +0200
with message-id <87imqkz0rv.fsf <at> gnu.org>
and subject line Re: bug#36942: Reconfigure broke GRUB
has caused the debbugs.gnu.org bug report #36942,
regarding Reconfigure broke GRUB
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
36942: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36942
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.
[Message part 3 (message/rfc822, inline)]
Hi Danny,
Danny Milosavljevic <dannym <at> scratchpost.org> skribis:
> On Tue, 06 Aug 2019 15:48:43 -0400
> zerodaysfordays <at> sdf.lonestar.org (Jakob L. Kreuze) wrote:
>
>> Danny Milosavljevic <dannym <at> scratchpost.org> writes:
>>
>> > Hi,
>> >
>> > I've examined /var/guix/gcroots without #36947 and I get:
>> >
>> > lrwxrwxrwx 1 root root 18 24. Jul 11:32 profiles -> /var/guix/profiles
>> > lrwxrwxrwx 1 root root 19 24. Jul 11:32 current-system -> /run/current-system
>> > lrwxrwxrwx 1 root root 18 24. Jul 11:32 booted-system -> /run/booted-system
>> > lrwxrwxrwx 1 root root 26 29. Jul 22:26 bootcfg -> //var/guix/gcroots/bootcfg
>> >
>> > So I guess I'm one "guix gc" away from also destroying my
>> > installation.
>>
>> Was this fixed after applying #36947?
>
> Yes.
Closing, because this is apparently the same as
<https://issues.guix.gnu.org/issue/36865>, which fortunately was fixed a
while back!
Thanks,
Ludo’.
This bug report was last modified 5 years and 267 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.