I'm using Ubuntu 16.04.3 LTS on an Intel NUC (there is no other OS and no dual boot). Probably due to involuntarily pressing keys during startup (right shift i suppose), i am now getting the GRUB2 boot menu at each startup.
Moreover, the default "Ubuntu" option in the menu restarts the NUC (i get the NUC BIOS screen) only to get back to the GRUB2 menu. This loops forever, so Ubuntu won't launch that way.
By accessing the command prompt from the GRUB2 menu, i have successfully launched Ubuntu by using Ron's answer to the following question:
GNU GRUB Terminal - Instead of Ubuntu login screen
Ubuntu then seems to work correctly, and at first glance, all my programs and data are still there.
I checked the GRUB2 settings, and the following properties are set: GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true
How can i repair my boot sequence, i.e. hide the GRUB2 boot menu and launch Ubuntu automatically without having to use the command line?