I'm coming over from (K)ubuntu, and over there we need to edit a number of files in /etc and then run grub-update (or update-grub, I can't remember which) which in turn updates the grub.cfg file in the /boot directory.
I'm reading that over here on the Fedora side of things that's not necessary, that you can directly edit the /boot/grub2/grub.cfg file. But most of the howtos and grub configuration articles I've seen out there still recommend you edit /etc/default/grub, then run grub2-mkconfig.
The problem is that grub2-mkconfig doesn't seem to be writing all the changes to /boot/grub2/grub.cfg.
I wanted to a) increase the resolution on the grub2 screen, b) maintain that resolution in the terminal view, and c) add the verne bootsplash. So I added these entries in /etc/default/grub:
Code:
GRUB_GFXMODE=1920x1080x16
GRUB_GFXPAYLOAD_LINUX=keep
GRUB_BACKGROUND=/home/wrightc/Pictures/vernesplash.png
I then ran
Code:
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
And upon reboot I saw that none of these changes were actually made. However, the set timeout=-1 change I made to grub WAS accepted.
So I wandered over to /boot/grub2/grub.cfg and took a look at what was in there. set timeout=-1 was there, and set gfxpayload=keep was in each boot entry, but there was no entry for my desired resolution, and no entry for the background.
Unfortunately, the layout of the grub.cfg file in /boot/grub2 was also... very different from the configuration file, so I had no idea where to put those entries on my own.
Any guidance? Is grub2-mkconfig broken in some way, and is editing the /boot/grub2/grub.cfg file the recommended way of doing it? If so, is there a howto or readme somewhere that documents where everything needs to go?