0

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.

0

In Ubuntu, open a Terminal and enter sudo nano /etc/default/grub.

Now you should see a line which says GRUB_TIMEOUT=0, meaning it'll wait 0s to boot the default OS. Set this to another value, e.g. 10 and save with Ctrl+O, exit with Ctrl+X.

Now apply the changes with sudo update-grub.

| improve this answer | |
0

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

sudo update-grub

| improve this answer | |
  • That doesn't allow the user to select the OS on boot. – s3lph Nov 19 '14 at 13:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.