It has been some time since I had seen that thread you linked, and it reminded me of that fix.
Would have been a simple fix had I remembered that without the reminder.
Please mark the appropriate post as the solution if things are now working for you as expected.
Thanks for being patient with me as I tried to work through the several possible causes.
When I started with the grubenv file I should have immediately had you do the list command to see what was there before making any changes and the problem would have jumped out at me in that listing.
Glad we were able to reach a resolution.
I do disagree on the solution since hiding or not hiding the menu would not cause this. It may have been a combination of the reinstalling of the grub files as well as editing the grubenv file. (Reinstalling the grub2 packages after removing /boot/grub2/grub.cfg would have also corrected structure errors in the grubenv file)
It also may have been a slightly corrupt grubenv file since that file is a specific number of bytes and however that blscfg line was written there may have corrupted it. The grub2-editenv command is the only one designed to edit that file and not corrupt it.
BTW
I just checked to verify what I remembered, and found that the updates-archive repo can be installed and enabled through the gnome software app (hamburger menu in upper right corner then selecting repositories)
That was part of the discussion early on way back in post 22 of this thread.
The bind mount call attaches only (part of) a single filesystem, not possible
submounts. The entire file hierarchy including submounts can be attached a
second place by using:
When you bind-mount /sys, you only mount this file system and not whatever files systems mounted on /sys. They need to be separately bind-mounted
You may want to use rbind instead of bind. See the man page.
I’ve just seen this long discussion and fortunately the system runs again.
But the original grub.cfg shown above is not normal and may be generated by grub-customizer. As far I know this does not support blscfg.
Indicators are /etc/grub.d/10_linux_proxy and /etc/grub.d/33_linux_proxy, missing /etc/grub.d/10_linux.
May be good to check whether grub-customizer is still installed or some files left over from old installation, in order to prevent the problem comes back at some update.
Just did a test install of grub-customizer in a F39 VM. Indeed it created /etc/grub.d/10_linux_proxy, the other one I’ve not seen. But it does not “own” the files in the rpm. It also installs grub2-pc which is not needed on EFI, and cannot be removed anymore.
Anyhow, the grub.cfg is generated on the right location now.
“rpm -e grub-customizer” does not restore the original configuration by post_install script, the /etc/grub.d/10_linux generating bls entries has been moved into backup, the proxy is left over.
All fiddling with system files is done in the program, and as far I have seen the “restore” button in the program does not fix it, despite the backups.
I do not understand the whole thing here but yes Grub-Customizer is Installed if that’s gonna create issue in future Then I’ll remove that. Or If any Info is needed Lemme know
If you want to use it, I assume you should set “GRUB_ENABLE_BLSCFG=false” in /etc/default/grub and let grub-customizer create the /boot/grub2/grub.cfg. Your original default/grub file showed GRUB_ENABLE_BLSCFG=true, so that might be the starting point of the problem. Could be caused by executing “/sbin/grub2-switch-to-blscfg” during update/upgrade at some point.
If you do not need grub-customizer, I would delete it with “rpm -e grub-customizer”,
but you have to manually delete /etc/grub.d/*proxy*. There are some backup directories installed there, they do not harm but can be deleted. Then repeat the procedure you did before which revived the system.
Thanks, OK, good to know. But this means grub-customizer should not be supported anymore as long as it does not handle GRUB_ENABLE_BLSCFG=true properly.