0

While booting, windows automatically gets started.

To use Ubuntu I have to restart by pressing the [Shift] key to get the grub menu.

Please help me fix the problem so that I can get the grub menu at startup.

Fabby
  • 34,259

2 Answers2

3

Warning: You're going to edit grub (the boot manager) Don't change anything else then the lines mentioned in this post without further research first!

Once you're in Ubuntu, just open a terminal Ctrl+Alt+T

Type into the terminal:

sudo nano /etc/default/grub

Change the following line where iNumberOfseconds is the number of seconds you want to see the grub menu:

GRUB_TIMEOUT="iNumberOfSeconds"

If you want to see the countdown, change the value "true" to "false"

GRUB_HIDDEN_TIMEOUT_QUIET="false"

Then hit Ctrl+X to exit and then Y and Enter to save.

Next time you boot, no need to press Shift any more to boot to Ubuntu.

Fabby
  • 34,259
0

Use boot repair :

  1. Boot into a live CD
  2. Open terminal and use these commands to install boot repair

    sudo add-apt-repository ppa:yannubuntu/boot-repair
    sudo apt-get update
    sudo apt-get install -y boot-repair
    
  3. Now open boot repair and do the "Recommended repair"

    boot-repair
    

You are good to go! Check this link or this if you need more information.

meain
  • 101
  • 4