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 uselessSolution:Jump to solution
@HikariKnight So, the problem turned out to be fast boot. For some reason, the grub menu in bazzite doesn't work with it
16 Replies
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.No dude, I didn't break anything, that's how your distro works out of the box
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
But it exists. I can select windows in the BIOS and it will boot up
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 doneYes, 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
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 😅
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
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
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.
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
nothing that is not windows work with fastboot
if youre refering to the fastboot in windows
The same nobara, for example, was doing fine.
in bios
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
glad it works though!