On Mon, Apr 22, 2024 at 8:26 AM Klaus-Peter Schrage via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
[...]
I have checked/rechecked three times:
/boot/efi/EFI/fedora/grub.cfg with flag "--root-dev-only": grub goes to
prompt, $prefix is obviously not set.
/boot/efi/EFI/fedora/grub.cfg without "--root-dev-only": grub menu is
displayed, $prefix is correctly set to (hd0,1)/grub2.
> After that I think you are deeper into grub2 than my experience goes.
> I.e., is $dev getting set correctly? etc.
Well, I am deeper into grub2 since two day or so. The discussion in this
thread (and further reading induces) gave me a faint insight.
(I really was a fan of the ancient grub and its simple possibility to
add custom splash pictures to the grub menu:
http://www.schragehome.de/splash/ - but that is truely outdated).
Some googling about "--root-dev-only" showed that it has been introduced
in very recent grub packages (mine are 2.06-118) to cure a certain
vulnerability (CVE-2023-4001). I found a bugzilla about that:
https://bugzilla.redhat.com/show_bug.cgi?id=2263369
So I am not sure if this is a real solution, but for me at least a
viable workaround.
Thanks to all who contributed!
Just upgraded 2 systems to Fedora 40 one on an internal drive and
one an external drive and don't have "--root-dev-only" on either box.
I have grub2-tools-minimal-1:2.06-119.fc40.x86_64.
Checking the src RPM page <https://src.fedoraproject.org/fork/jwrdegoede/rpms/grub2/commits/master#>:
Add support for setting boot_success / boot_indeterminate grubenv flags
Hans de Goede
•
5 years ago
George N. White III
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue