2023-06-21

Customizing Grub on Fedora 38 - Add Grub Theme

 Spec :

- Asus Vivobook F512JA

- UEFI Firmware


Theme Location : 

- /boot/grub2/themes

note : i think you should using /boot directory instead of using /usr directory, just to make sure the theme can be access by the grub, because i have sparated the /boot mount point on other partition from /usr


Config File on : /etc/default/grub


# ---------GRUB CONFIG------

GRUB_TIMEOUT=5

GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"

GRUB_DEFAULT=saved

GRUB_DISABLE_SUBMENU=true

GRUB_TERMINAL_OUTPUT="gfxterm"

GRUB_CMDLINE_LINUX="resume=UUID=5a9c3ee7-e526-4a2d-87ca-806d26a9299b rhgb quiet"

GRUB_DISABLE_RECOVERY="true"

#GRUB_ENABLE_BLSCFG=true

#MY_OWN_CONFIG

GRUB_GFXMODE=1920x1080x32

GRUB_GFXPAYLOAD_LINUX=keep

GRUB_THEME=/boot/grub2/themes/Xenlism-Fedora/theme.txt


note : change the value of GRUB_TERMINAL_OUTPUT to gfxterm, and comment GRUB_ENABLE_BLSCFG. and then add GRUB_GFXMODE, GRUB_GFXPAYLOAD_LINUX, and GRUB_THEME.

Then run this command.

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

i use uefi firmware btw, if not uefi maybe can looking for the command on other forum.

Share:

0 comments:

Post a Comment