Bazzite 41 No longer has /etc/default/grub
I am unable to add the required line to change my grub theme due to /etc/default/grub not existing and no one in the chat room seems to believe me that the file is nonexistent.
12 Replies
what's stopping you from just creating it?
Yes I have been wanting to know this as well. There is no
/etc/default/grub
to be foundapparently we are imaging it 😛 I asked several times in chat and all I keep getting is a link to a guide on editing the file that I keep saying doesn't exist to begin with to edit
Solution
then create it
the answer to a missing file that needs to be edited is simply create the file
the
nano
screenshot in the OP is 90% of the solution. you just save it when you're doneah ok so yes although now the file is totally missing you can just create a /etc/default/grub file I simply added only the one line GRUB_THEME=/boot/grub2/themes/NeonPurple/theme.txt saved it and done a ujust regenerate-grub and it finally worked. The problem is the file /etc/default/grub used to exist and was full of stuff but now with it gone you just have to make the file yourself and only put in what you want.
so if I hear you correctly, there was originally a
/etc/default/grub
somewhere but once you have activated it, it then disappear?
ok creating a /etc/default/grub seems to solve part of my problem. But now I get duplicate entries for ostree:0
and ostree:1
. How can I fix that?
Interestingly enough the duplicate entries doesn't load Bazzite, only the first two (ostree:0 and 1) work.I'm struggling with copying themes in the
/boot/grub2/themes/
folder as it is an inaccessible path. Any luck/tricks?you can use the command
ujust configure-grub fix
to get rid of the duplicate entriesTyvm!!
iirc, you need to be running as root to get access to that folder.
Thanks! I found out that I had incorrectly copied the folder when I did
sudo cp...
.
The more proper question was probably "how do I verify/see the contents of /boot/grub2/themes
?" There, sudo cd
does not work.
Some googling finally led me to sudo su
and then cd
-ing and ls
-ing as appropriate. That was how I finally found how I had incorrectly copied.
Thank you for the hint! Got it working! (Initially, it appears that old installs should still follow the old community guide instead of following what new installs after Fedora Silverblue 41 should do with creating/editing a user.cfg)