I'm running Ubuntu 16.10, and I'm trying to hide my GRUB menu at power on/boot time, and wish the menu to appear only when I hit the Shift or Esc keys.
I change the appropriate options in /etc/default/grub
and it still won't hide the menu.
In researching this, I found this post from 2013 GRUB hidden menu not working that indicates that the problem has been around for a while, and suggests a change to /etc/grub.d/30_os-prober
which I'd rather not do. That code suggests that since its found multiple OS's, it's going to set the GRUB_TIMEOUT=10
anyway.
Here's a snippet of what I have now in /etc/default/grub
... a menu with a 10 second countdown...
GRUB_DEFAULT=saved GRUB_SAVEDEFAULT=true GRUB_HIDDEN_TIMEOUT_QUIET=true #GRUB_HIDDEN_TIMEOUT=0 GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
If I uncomment #GRUB_HIDDEN_TIMEOUT=0
, then sudo update-grub
insists that I also set GRUB_TIMEOUT=10
to GRUB_TIMEOUT=0
. I do that, and I still see the GRUB menu.
In terminal
, typing info -f grub -n 'Simple configuration'
describes the various options, and at the very end of the info, it shows that some of the current commands have been depreciated, and suggests that the newer replacements are better.
Does anybody know how I can get my GRUB menu to hide in 16.10 AND have it recognize Shift or Esc keys at boot time?
/etc/grub.d/30_os-prober
but I really don't see the harm. You can keep a copy backed up or #Comment your changes so that you can reverse them if need be. The workaround you found seems the most reasonable solution at the moment.