I have HP Pavilion laptop configured to dual boot Ubuntu/Windows 10. After I have upgraded Ubuntu to 20.04 grub2 menu does not appear and PC boots directly to Windows.
I have tried to fix the problem by using boot-repair-disk without success. As suggested in the boot-repair-disk report I have executed as administrator the command: bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
.
Before I launched boot-repair-disk I have disabled Fast Boot by executing command powercfg -h off
as administrator.
When I boot the PC in upper left corner of the display is printed 'booting in insecure mode' (although the boot in my PC is in secure mode) and then it starts to boot Windows.
Before the upgrade Fast Boot has been enabled and if I remember correctly also 'booting in insecure mode' was displayed before the grub menu.