I have installed ubuntu alongside windows, on starting it, the computer starts in Ubuntu. I would want to have the option of selecting which operating system to use.
Open and edit
sudo gedit /etc/default/grub.
You will see the following contents:
GRUB_DEFAULT=0 GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10
You can change the
GRUB_DEFAULT from 0 to any number, corresponding to the entry in the GRUB bootup menu (first entry is 0, second is 1, etc.)
Set the value of the
GRUB_TIMEOUT as 10 seconds if it has not been set. You can force the grub menu to show by commenting out the two
GRUB_HIDDEN lines with a
# at the beginning of the line.
After saving the changes, run