I have an assembled desktop with a Gigabyte Motherboard (H410M H V2) which came with Windows 10 preinstalled. I installed Ubuntu 20.04, the latest LTS version, and when I restart the grub is not coming and the PC straightaway boots into windows. Before installation, I disabled the legacy mode in UEFI firmware, and installed ubuntu from the live-usb that is compatible with the UEFI mode. After installation, the grub did not appear and again from a live-usb I booted into ubuntu and then using efibootmgr, I changed the boot order so that Ubuntu comes first. But, this did not make any improvement and grub still does not appear and the PC straightaway boot into windows. So I tried running the boot-repair from live-usb.
The following is the URL for the boot-repair summary report: https://paste.ubuntu.com/p/ZCkQbnnNHK/
The fast boot in Windows is already disabled. I tried changing the boot order in the UEFI settings of the Windows. But there only Windows 10 is getting listed and Ubuntu is not shown
Any support in this regard is highly appreciated.
An Update:
After doing a boot-repair run, I restarted the PC and then the grub came. I opted ubuntu and it boot into the OS. Again I gave a restart and checked the boot order and this is how it looked like:
Check Image 1
Ubutnu comes as the first option, which is exactly what I want. Then again I rebooted the PC and selected windows. This time also everything went normal. Now the third time when I rebooted, the grub went missing and I straight away booted into windows. This time when I checked the bios the following is how it looked like:
Check Image 2
Ubuntu is missing from the boot option priority list.
Can someone help.