Grub automatically boots after a second
here is my /etc/default/grub
:
GNU nano 5.6.1 /etc/default/grub
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_SAVEDEFAULT="true"
GRUB_DISABLE_SUBMENU="false"
GRUB_TERMINAL_OUTPUT=console
GRUB_CMDLINE_LINUX="resume=UUID=c91d6048-0454-45ca-b764-76d675514da0 rhgb quiet>
GRUB_CMDLINE_LINUX_DEFAULT="rhgb quiet splash"
GRUB_DISABLE_RECOVERY=true
GRUB_ENABLE_BLSCFG=true
#GRUB_BACKGROUND= /usr/share/grub/backgrounds/background.png
export GRUB_COLOR_NORMAL=light-gray/black
export GRUB_COLOR_HIGHLIGHT=blue/black
here is my /boot/grub2/grubenv
:
# GRUB Environment Block
# WARNING: Do not edit this file by tools other than grub-editenv!!!
save_default=true
boot_success=1
###############################################################################>
here is my /etc/grub.d/12_menu_auto_hide
:
GNU nano 5.6.1 /etc/grub.d/12_menu_auto_hide
#!/usr/bin/sh
# Menu Auto Hide
#
# This snippet depends on 10_reset_boot_success and needs to be kept in sync.
#
# Disable / skip generating menu-auto-hide config parts on serial terminals
for x in ${GRUB_TERMINAL_INPUT} ${GRUB_TERMINAL_OUTPUT}; do
case "$x" in
serial*)
exit 0
;;
esac
done
cat << EOF
if [ x\$feature_timeout_style = xy ] ; then
if [ "\${menu_show_once}" ]; then
unset menu_show_once
save_env menu_show_once
set timeout_style=menu
set timeout=60
elif [ "\${menu_auto_hide}" -a "\${menu_hide_ok}" = "1" ]; then
set orig_timeout_style=\${timeout_style}
set orig_timeout=\${timeout}
if [ "\${fastboot}" = "1" ]; then
# timeout_style=menu + timeout=0 avoids the countdown code keypress check
set timeout_style=menu
set timeout=5
else
set timeout_style=menu
set timeout=5
fi
fi
fi
EOF
I even tried this:sudo grub2-editenv - unset menu_auto_hide
Please help me display my grub on boot