As easier solution without having to install grub customiser
Edit as superuser or root /etc/default/grub
eg:
Code:
sudo nano /etc/default/grub
At the top of the file
Change this line from
GRUB_DEFAULT=0
to
GRUB_DEFAULT=saved
Add this line
GRUB_SAVEDEFAULT=true
Edit\add these lines
#GRUB_HIDDEN_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
Edit\add this line
GRUB_DISABLE_SUBMENU=y
Then we need to update grub
This will do the following:
Show the grub menu & will boot the default choice after 10 seconds
Show all the kernels without a submenu such as "Advanced options"
Save the last selected kernel and make that the default kernel
References:
www.gnu.org/software/grub/manual/grub/ht...e-configuration.html
askubuntu.com/questions/148662/how-to-ge...remember-last-choice
This is the example of what I have, do not copy & paste but use as a reference:
Code:
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
#GRUB_HIDDEN_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_SUBMENU=y