How to hide GRUB menu ? when

For lack of proper solution, I used this solution from the archived forum.
So in the /etc/grub.d/30_os-prober file I changed this line of code

adjust_timeout () {
  if [ "$quick_boot" = 1 ] && [ "x${found_other_os}" != "x" ]; then
    cat << EOF
set timeout_style=hidden # was timeout_style=menu
if [ "\${timeout}" = 0 ]; then
  set timeout=10
fi
EOF

And it works, but I don’t know how it will behave if trying this with dual boot.
So for anyone that tries this, its at your own risk.

4 Likes