grub2-editenv: error environment block too small

As the title says when I tried to generate grub on a machine running Fedora 31 using UEFI, I was presented with this error: # grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg Generating grub configuration file ... grub2-editenv: error: environment block too small. ... I didn’t know what had caused it. However, it seemed like an easy fix was to remove the grubenv file. # rm /boot/efi/EFI/fedora/grubenv # grub-editenv /boot/efi/EFI/fedora/grubenv create # grub2-mkconfig -o /boot/efi/EFI/fedora/grub....

September 10, 2019 · 1 min · 142 words · kenno