1

I installed Ubuntu on my desktop and put it on a completely separate hard drive from Windows 10, but it still seems to have hijacked the boot process. No matter which device I try to boot from, this screen always appears (see below picture) and I need to select Windows 10 otherwise it will default to Ubuntu. When it did this is messed up my Windows 10 and I used a recovery point I happened to make earlier that day and it started running again.

enter image description here

Sorry for what is likely a duplicate post, I don't even really know how to Google it and try to find the answer. Please link me to a relevant post and delete this one if necessary.

karel
  • 122,292
  • 133
  • 301
  • 332

2 Answers2

1

You can change which OS grub boots by default. In terminal, do:

sudo gedit /etc/default/grub

Find the line that says:

GRUB_DEFAULT=0

and change 0 to the grub menu item that you would like to boot first by default. In your case, it should be entry 4. To double check, or if you forget the boot order, open /boot/grub/grub.cfg

After you made the changes, save it, and then do:

sudo update-grub

Hope this helps.

Roger G
  • 69
0

When installing I think the easiest way to avoid this problem is to disconnect (unplug) the internal drive from your computer. Then the installer cannot auto-select the internal drive, which is otherwise a problem in UEFI mode.

This was discussed also in this link:

How to create a standalone bootable Ubuntu USB disk

Now that you have this system, the best option is probably to configure grub as suggested by WinEunuuchs2Unix and Roger G. The following link might help you,

help.ubuntu.com/community/Grub2/Setup

Windows is the menu entry #5 in your screenshot so I think you should use

GRUB_DEFAULT=4

in the file /etc/default/grub and run the command

sudo update-grub
sudodus
  • 47,684