I recently installed Silverblue 41 and am unable to change the screen resolution for the grub menu since I have a high resolution display. On Silverblue 40 this was possible by adding GRUB_GFXMODE in the default grub configuration under /etc/defaults. With the new grub changes in Silverblue 41 I added set gfxmode in user.cfg under /boot/grub2 but that does not work. I also changed the timeout value in user.cfg and that does work. I noticed that grub.cfg also sources console.cfg so I attempted to add set gfxmode there. That also did not work. Is there a way to change the screen resolution in Silverblue 41to properly display the grub menu on high resolution displays?
On KDE plasma I set some variables in /etc/default/grub to use 1024x768 and remake the grub config file. I set the kernel to use 1024x768 until it brings up the desktop.
Here is what I have:
$ cat /etc/default/grub
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
#GRUB_TERMINAL_OUTPUT="console"
GRUB_TERMINAL_OUTPUT="gfxterm"
GRUB_GFXMODE=1024x768
GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau rd.luks.uuid=luks-904db66b-db23-4719-bbf6-fb596c23d831 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau video=1024x768"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
I use make the config with this command.
grub2-mkconfig -o /boot/grub2/grub.cfg
You can follow this issue.
Barry’s KDE solution is what works for Silverblue 40. It does not work for Silverblue 41 because /etc/default/grub no longer exists. The issue that Mike B is referring to clearly states that /etc/default/grub is no longer needed. The solution is to put your changes in /boot/grub2/user.cfg but only certain options seem to work there like changing the timeout value which was the only example given. There is no documentation on how to use console.cfg which may or may not be the answer. I am disappointed that a change of this magnitude was made without documentation. The issue is not that /etc/default/grub is missing but rather that the entire mechanism for making changes to the grub configuration has been changed and apparently only partially works.
The post /etc/default/grub is missing on Silverblue 41 fresh install by Alex Levin addresses this and post three contains the “solution” which does not work.