My problem is when I needed to shutdown manually my laptop through its power button when I’m stuck at the loading kernel version. I notice it happens when I update to newer kernels and updated to F41.
I don’t know if this was cause by the grub-customizer. I found some fix from this same issue. Where I needed to reinstall the grub configurations
Also, I run these commands from this output based on this discussion to check any issues while having a grub-customizer.
I get this output
sudo rpm -qf /etc/grub.d/*
error: file /etc/grub.d/*: No such file or directory
sudo rpm -V grub2-tools
missing c /etc/grub.d/10_linux
missing c /etc/grub.d/10_reset_boot_success
missing c /etc/grub.d/12_menu_auto_hide
missing c /etc/grub.d/14_menu_show_once
missing c /etc/grub.d/20_linux_xen
missing c /etc/grub.d/20_ppc_terminfo
missing c /etc/grub.d/30_uefi-firmware
missing c /etc/grub.d/40_custom
missing c /etc/grub.d/41_custom
Should I remove the grub-customizer? and just used the default grub file? or Am I missing something based on the output from above?
Some of us have tried to get grub-customizer removed from the repos for a while now, since it’s not compatible with Fedora and can really mess up your system. Unfortunately the maintainers haven’t decided to remove it as of yet.
The biggest problem with grub-customizer is that it renames the files in /etc/grub.d. This will become a problem the next time grub2 gets updated, as the files from the grub2 will be restored to /etc/grub.d, and you will get duplicate files with identical contents. Then when you rebuild grub.cfg, you get a real messed up configuration files due to duplicated sequences in the file.
I suspect other distros using grub might have the same problem.
I am surprised package maintainers have the freedom not to retire a package that obviously does harm to the distro. Can’t fesco force retirement of the package?
I agree. The primary maintainer @vascom hasn’t responded after 10 months of the ticket being up with the ‘Urgent’ status, but they keep building new packages:
Update: After I removed the grub-customizer by doing using the remove command and generated a new grub file. I have now a problem where the grub options won’t show up for dual booting on windows and it directly boot into the latest kernel of Fedora.
I think the grub-customizer messed up with my system.
Alright, I found out that there are still missing files:
missing c /etc/grub.d/01_users
missing c /etc/grub.d/10_linux
missing c /etc/grub.d/10_reset_boot_success
missing c /etc/grub.d/12_menu_auto_hide
missing c /etc/grub.d/14_menu_show_once
missing c /etc/grub.d/20_linux_xen
missing c /etc/grub.d/20_ppc_terminfo
missing c /etc/grub.d/25_bli
missing c /etc/grub.d/30_uefi-firmware
missing c /etc/grub.d/40_custom
missing c /etc/grub.d/41_custom
Even if I found a solution from the fedora subreddit. Doing sudo grub2-editenv - unset menu_auto_hide. Then updating the grub.
I reinstall the grub2-tools. Yet there’s a warning on the reinstalling page of fedora documentation, saying "
Do not use the grub2-install command on UEFI systems. On those systems, bootloaders are in the shim and grub-efi RPM packages. By reinstalling those packages, the bootloaders are reinstalled to their proper location in /boot/efi/ on the EFI System volume."
Any insights?
Edit: this works, even if I have those missing files earlier. Yet, I still follow to reinstall the grub2-tools. And whenever I enter the sudo rpm -V grub2-tools, I got blank output. I think that resolves/added the missing files.