1

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.

mattirn
  • 131

1 Answers1

0

I found the solution:

Launch boot-repair-disk -> advanced options -> edit GRUB configuration file

This will view grub configuration file and show its location. Open an other terminal and edit grub file: add the line

GRUB_TIMEOUT_STYLE="menu"

and remove the comment from line

#GRUB_TERMINAL="console"

Save the grub file and continue boot-repair-disk by clicking apply button.

mattirn
  • 131