Setting ubuntu grub timeout when using efi

 # 1) Edit grub with vi

sudo vi /etc/default/grub


# 2) Add or modify the following part

GRUB_RECORDFAIL_TIMEOUT="5"


# 3) Update

sudo update-grub


The reason is

If you look at "/etc/grub.d/00_header"


if [ \$grub_platform = efi ]; then

set timeout=${GRUB_RECORDFAIL_TIMEOUT:-30}

if [ x\$feature_timeout_style = xy ] ; then

set timeout_style=menu

fi

fi


Because it's like this.

Comments

Popular posts from this blog

e1000e 0000:00:1f.6 eno1: Detected Hardware Unit Hang

[WordPress] Change https redirect in DB.

sanitize on in CMakeLists.txt