Updating Grub2

After editing /etc/default/grub do I update Grub2 in an EFI system with the following commands?

sudo grub2-mkconfig -o /etc/grub2.cfg
sudo grub2-mkconfig -o /etc/grub2-efi.cfg

As mentioned here.

I’m on Fedora 36

Yes, To update grub you must run the following commands

1 Like

Thanks! Because Fedora is different then most other distros using Grub I got confused.

I am also new and got confused when I don’t find

sudo update-grub

But after that reading the documentation I got to know the different method for updating the grub

You can use either of those commands. Those outputs are symlinks to the same actual file in the system.

1 Like

Good to know. The wiki should mention that cause it’s confusing.