The grub menu is completely broken

I ran the command sudo grub2-mkconfig -o /boot/grub2/grub.cfg, no errors , however grub can't load any bazzite snapshot or windows 11. The grub menu is broken and useless
No description
No description
Solution:
@HikariKnight So, the problem turned out to be fast boot. For some reason, the grub menu in bazzite doesn't work with it
Jump to solution
16 Replies
HikariKnight
HikariKnight5d ago
congratulations you broke it, not much you can do. on atomic its sudo grub2-mkconfig -o /etc/grub2-efi.cfg and there is an ujust that literally does this. also if you edited kernel args in /etc/default/grub thats also the wrong way to do it on atomic you need to use rpm-ostree kargs --help breaking the bootloader and breaking your /etc/fstab are one of the few ways you can still break the system sadly.
Грюндик
ГрюндикOP5d ago
No dude, I didn't break anything, that's how your distro works out of the box
HikariKnight
HikariKnight5d ago
this is how grub on atomic desktops work upstream, nothing we have done also the error for windows says that the efi partition for it does not exist so maybe look into why that is
Грюндик
ГрюндикOP5d ago
But it exists. I can select windows in the BIOS and it will boot up
HikariKnight
HikariKnight5d ago
then the only thing left is it being a broken config from sudo grub2-mkconfig -o /boot/grub2/grub.cfg because the file generated is in the wrong location for how grub needs to work for atomic systems since you need to run sudo grub2-mkconfig -o /etc/grub2-efi.cfg to update the grub config and if you want to add kernel args you need to use rpm-ostree kargs to add them. this is an upstream thing and not a change we have done
Грюндик
ГрюндикOP5d ago
Yes, I know how to add arguments in atomic distributions. I created the ticket when I needed to boot into windows. Thanks for the tip, I will try running this command
HikariKnight
HikariKnight5d ago
i havent had grub break like this myself in many years and not much i can help with from work sadly to even start trying to replicate and try see if its easily repairable also does not help that i dont dual boot 😅
Грюндик
ГрюндикOP5d ago
Have you figured out a solution yet for the issue of games blocking sleep mode? By the way, the advice didn't help. Grab menu is still broken
HikariKnight
HikariKnight5d ago
not something im looking into, im the virtualization person dont know how it has gotten broken then if it cant see the partition and the UUID is correct for the efi partition
Грюндик
ГрюндикOP5d ago
How would I know? I'm not the developer of the operating system. I installed it and it works the way it was programmed to work.
HikariKnight
HikariKnight5d ago
i didnt expect you to know, i just replied. antheas and kyle would probably know more about sleep
Solution
Грюндик
@HikariKnight So, the problem turned out to be fast boot. For some reason, the grub menu in bazzite doesn't work with it
HikariKnight
HikariKnight5d ago
nothing that is not windows work with fastboot if youre refering to the fastboot in windows
Грюндик
ГрюндикOP5d ago
The same nobara, for example, was doing fine. in bios
HikariKnight
HikariKnight5d ago
because it hibernates instead often on shutdown instead of shutting down, making the partitions dirty oh in bios, thats a new one for me never seen that one cause isuses on any system
HikariKnight
HikariKnight5d ago
glad it works though!

Did you find this page helpful?