Browse - Computer Tips - Fedora: Set background for grub2 boot

Date: 2019mar7
OS: Linux
Distro: RedHat/Fedora/CentOS
Keywords: boot, grub

Q.  Fedora: Set background for grub2 boot

A.

In file /etc/default/grub
- Possibly increase the timeout so you can see the background for longer
- Comment out GRUB_TERMINAL_OUTPUT
- Add GRUB_BACKGROUND with quotes and valid path in /boot
  The file image in this example comes with Fedora grub2.
  If you're going to use your own, make sure its 8-bit (256 colors).

GRUB_TIMEOUT=30 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true # GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_BACKGROUND="/boot/grub2/themes/system/background.png"
Run mkconfig
grub2-mkconfig -o /boot/grub2/grub.cfg
Make sure it says it found your background. Commenting out GRUB_TERMINAL_OUTPUT made it find it for me. Reboot to see your creation:
reboot