1

I have a dual boot system. I mainly work with Linux and rarely with Windows, so I want to set Linux to boot by default without bringing up the GRUB menu, but to bring up the menu if I press SHIFT so I can boot into Windows.

I already hide the grub menu and boot by default with Linux and only shows the GRUB menu when I press SHIFT, but this only works if I disable the Look for other OS option, and as a result of that Windows doesn't appear as an option in the menu, so I can't boot into it!

How can I get the configuration I want?

Zanna
  • 70,465

1 Answers1

-1

You need to edit as root the file /etc/default/grub and modify a few lines at the top to the hidden timeout. In my case it looks as follows:

GRUB_DEFAULT=0
#GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 3.13.0-101-generic"
#GRUB_HIDDEN_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
Harris
  • 2,598
  • The menu should come up every time with that configuration... you seem to have an extra customised GRUB_DEFAULT line, but since it's commented out (starts with #), it won't do anything at all. So, what are you talking about? – Zanna Mar 04 '18 at 08:04
  • GRUB_TIMEOUT=10 will give you 10s to select an OS (windows in his case) otherwise it will boot into Linux. – Harris Mar 04 '18 at 23:32
  • Yeah, but that's the default configuration in dual boot. OP doesn't want to see the GRUB menu unless they press shift – Zanna Mar 05 '18 at 08:09