This quick tutorial is going to show you how to get rid of (hide) the annoying Grub boot menu while booting up Ubuntu and make it directly go to the login screen.
If you just have a single Ubuntu installed on your computer, Grub bootloader is hidden by default and you can press and hold Shift key to show the menu while booting.
If you have more that one kernel on your system, Grub menu keeps showing up on booting and you can follow below steps to hide it again.
Method 1: Edit the config file.
Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, paste below command and run to edit the grub config file:
sudo gedit /etc/default/grub
You’ll be asked to type in user password. Type in mind and finally hit enter (terminal won’t display your password).
When the file opens, remove “#” before “GRUB_HIDDEN_TIMEOUT=0” and set “GRUB_HIDDEN_TIMEOUT_QUIET=true”. So it looks like:
GRUB_DISTRIBUTOR=”`lsb_release -i -s 2> /dev/null || echo Debian`”
Save the file and apply the changes by running below command:
Method 2: Use graphical tool grub-customizer:
Grub Customizer is a graphical interface to configure the GRUB2/BURG settings and menu entries. Press Ctrl+Alt+T to open terminal. When it opens, run below commands one by one to install it from developer’s PPA:
sudo add-apt-repository ppa:danielrichter2007/grub-customizer sudo apt-get update sudo apt-get install grub-customizer
Open the app and do below changes:
- Switch to General settings.
- un-check the boxes which say “show menu” and “look for other operating systems.”
- Click refresh button.
- Click Save button.
That’s it. Enjoy!