Where is /etc/default/grub file?

Hello guys, I installed bluefin yesterday and it works really very well. But I confused that there is no ‘grub’ file in /etc/default directory. If anyone knows where is that, can you tell me please? Thank you.

Is there any particular reason you need this file?

I am also desperately looking for this file to change GRUB_TIMEOUT in my bluefin installation. I also tried setting the timeout with grub2-editenv but to no prevail.

Can anyone tell, why the /etc/default/grub file is not existing? Or if there is another way to configure the grub variables?

It is in my Blufin 41 system:

What is your stream and version?

On Silverblue 41 it’s located in /boot/grub2/grub.cfg, and it’s same on my Bazzite install.

https://discussion.fedoraproject.org/t/etc-default-grub-is-missing-on-silverblue-41-fresh-install/135344

1 Like

@red11 I am on Bluefin-dx 41 with the kernel version being Linux 6.11.9-303.bazzite.fc41.x86_64

@Plyply I also found that post and was confused by it. The /boot/grub2/grub.cfg looks nothing like the usual /etc/default/grub file. Am I supposed to create the user.cfg file? Could I then just use the usual GRUB variables like GRUB_TIMEOUT in it? Actually I tried to create it and do that but I was denied permission to create a file in that location.

/boot/grub2/grub.cfg may be overridden upstream starts updating static configs so I wouldn’t reccomend editing that. Seems the current solution is to create distinct config files as mentioned on the Fedora Forums: