I got a new laptop with NVidia () graphics (I am not sure if this is important). However, I did a “clean” install (on a free space, along with Windows), and installed grub, however I am facing some weird issues.
Firstly, the grub menu is popping up in a low resolution (my screen is 1920*1080) Secondly, on the grub command line, I try to execute videoinfo or vbeinfo or videotest and neither of these commands are found and an error is thrown.
Now, I tried setting the GRUB_GFXMODE and GRUB_GFXPAYLOAD_LINUX in /etc/default/grub and regenerated the config, however, I found that the config is installed in a weird location /boot/efi/EFI/fedora/grub.cfg, as compared to the usual /boot/grub/grub.cfg. The updated config does not affect the resolution.
Can anyone tell me what am I doing wrong here? Do I have to install some Nvidia driver (never had Nvidia, and am currently using the default Nouveau), or do I have to reinstall and fix grub?
To provide a bit more background to @roypen’s answer,
sets the grub menu to text-based console. I think this is done for compatibility reasons.
@major, all the commands and parameters you’ve tried are for graphical output of grub, they simply don’t work in console mode. They will in gfxterm mode.
Also just commenting out GRUB_TERMINAL_OUTPUT="console" will have the same effect: grub will use gfxterm mode – although providing the option explicitly is a cleaner solution.
One more thing I personally do to make grub menu more pleasant is install and activate grub theme. Install it with
sudo dnf install grub2-breeze-theme
and then add to /etc/default/grub this line:
and don’t forget to change mode to gfxterm, as suggested by @roypen. Regenerate grub.cfg menu – again, @roypen’s provided the commands to you – you need to do it after every change to /etc/default/grub.
The result won’t be astonishing, but it’ll be prettier than text console or default gfxterm output.
As far as I know, you can also find other themes for grub2 online – maybe prettier ones, – but they aren’t packaged in Fedora. Still they are easy to use if you want to.