Skip to content

Implement your grub configuration file in the boot menu on fedora 38?

Posted on:September 18, 2023 at 10:18 PM

Using Fedora 38,I have found how to implement your grub configuration file in the boot menu by the following not grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg.

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

fedora doc

here is my grub customize that is directly boot on fedora system on dual boot system with windows 11

navigated to /etc/default/grub

GRUB_TIMEOUT=0
# GRUB_HIDDEN_TIMEOUT_QUIET=true
# GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT="saved"
GRUB_DISABLE_SUBMENU="true"
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="resume=UUID=251705bf-4888-4dfd-94db-220b2e261feb rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG="true"

Chatgpt says

This is a configuration file for the GRUB bootloader on a Linux system. Here’s what each line does: