1

I have a machine in which I had Windows 10 before installing Ubuntu 16 recently. But each time I start the computer, if I am not close to enter into the boot setup to specify Ubuntu, it goes straight on Windows. I would like that the default OS selected is Ubuntu.

I tried to edit my grub order by doing this: sudo gksudo gedit /etc/default/grub, but I had already this line GRUB_DEFAULT=0, indicating my Ubuntu should be the first to boot.

I guess my Ubuntu is using UEFI since I have the following folder: /sys/firmware/efi/.

This question has already an answer here.

But this answer is very old now. And I wonder if there is a new way to solve the same issue, using only Ubuntu. If not, I would like to know why should we use only Windows to solve the issue.

edkeveked
  • 123
  • 1
  • 1
  • 7

2 Answers2

2

According to this link,

help.ubuntu.com/community/Grub2/Setup#Configuring_GRUB_2

GRUB_DEFAULT=0 should work, if you are arriving at Ubuntu's grub menu. But there is a second step: You must make it active by running

sudo update-grub

If it is still not working, booting is not using this grub menu, but some other grub menu or other boot menu.

You may have to run

sudo grub-install /dev/sdx

where x is the drive that the computer is booting from. See this link,

help.ubuntu.com/community/Grub2/Installing#Reinstalling_GRUB‌​_2

sudodus
  • 47,684
0

I found an answer here.

The solution is as follows.

  1. Boot to Windows
  2. right click on Computer and select Properties
  3. click Advanced System Settings
  4. click on the Settings button under Startup and Recovery
  5. select the operating system you want to use

Warning:

After doing this, you will not be able to boot Windows again if the timeout is set to zero seconds, without repairing the boot-loader using a repair disc.

pomsky
  • 70,557
ezekiel
  • 11
  • 4