My /boot/loader/entries/5.5.5.conf does NOT contain initrd entry and according to https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/ > initrd refers to the initrd to use when executing the kernel. This also shall be a path relative to the $BOOT directory. This key is ***optional***. Still on boot Grub2 generates a config entry with an empty initrd argument, i.e. linux /boot/bzImage-5.5.5 root=/dev/sda2 initrd This is an error. When initrd is *not* specified in /boot/loader/entries/kernel.conf, grub2 BLSCFG must *not* generate it. rpm -qa | grep grub2 grub2-tools-2.02-105.fc31.x86_64 grub2-pc-2.02-105.fc31.x86_64 grub2-pc-modules-2.02-105.fc31.noarch grub2-efi-x64-2.02-105.fc31.x86_64 grub2-tools-efi-2.02-105.fc31.x86_64 grub2-common-2.02-105.fc31.noarch grub2-tools-extra-2.02-105.fc31.x86_64 grub2-tools-minimal-2.02-105.fc31.x86_64
(In reply to Artem S. Tashkinov from comment #0) ... > /boot/loader/entries/kernel.conf, grub2 BLSCFG must *not* generate it. ... Could you post or attach: 1. /boot/loader/entries/kernel.conf (or 5.5.5.conf, if that is what you are using) 2. /etc/default/grub And how are you building grub.cfg? With grub2-mkconfig?
(In reply to Steve from comment #1) ... > Could you post or attach: ... No need. I reproduced it without any trouble by modifying a copy of the ".conf" file for "Fedora (5.5.7-100.fc30.x86_64) 30 (Thirty)". # cat /boot/loader/entries/foo.conf title Foo Fedora (5.5.7-100.fc30.x86_64) 30 (Thirty) version 5.5.7-100.fc30.x86_64 linux /vmlinuz-5.5.7-100.fc30.x86_64 #initrd /initramfs-5.5.7-100.fc30.x86_64.img options $kernelopts grub_users $grub_users grub_arg --unrestricted grub_class kernel # grep BLSCFG /etc/default/grub GRUB_ENABLE_BLSCFG="true" Running grub2-mkconfig isn't needed when BLSCFG is enabled. Test procedure: Reboot, select "Foo Fedora ...", press "e", and note that the "initrd" line has no arguments.
FEDORA-2020-c00ce6527f has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-c00ce6527f
grub2-2.04-10.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-17e46a4bd6
grub2-2.02-106.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-c00ce6527f
grub2-2.02-106.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.
grub2-2.04-10.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report.