Am 21.04.24 um 18:34 schrieb Go Canes:
On Sun, Apr 21, 2024 at 12:15 PM Klaus-Peter Schrage via users
<users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
/boot/efi/EFI/fedora/grub.cfg:
search --no-floppy --root-dev-only --fs-uuid --set=dev
206c0b5f-eddf-42e8-96f1-e666c5635cd0
set prefix=($dev)/grub2
export $prefix
configfile $prefix/grub.cfg
Mine is:
search --no-floppy --fs-uuid --set=dev c5f18a2c-ee16-454e-b85d-6d7f03b86532
set prefix=($dev)/grub2
export $prefix
configfile $prefix/grub.cfg
Note the difference in the "search" line. Mine does not have the
--root-dev-only argument. Other than that they appear to be the same
(other than the UUID of course), Try editing that out?
I am really stunned now - thank you for this shot in the dark!
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!
--
_______________________________________________
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