I have dual booted my HP Pavilion g6 Notebook PC with Ubuntu 20.04 LTS alongside Windows 10.
Whenever I restart my PC, it is directly loading into Windows by default without showing the grub menu. Now every time I turn on my PC, I have to press Esc button, and then F9 and enter and there I have to select ubuntu file and then the grub menu shows up and there I can select Ubuntu or Windows.
I want the grub menu to show automatically Whenever I turn on my PC.
Here is a list of things I've tried.
Secure boot is disabled in Windows 10.
Fast startup is off in Windows power settings.
bcdedit is set to
bcdedit/set {bootmgr} path \EFI\ubuntu\grubx64.efiand I even tried,
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efiUbuntu grub menu is up to date.
In
/etc/default/grubfile,GRUB_TIMEOUT_STYLE=menu GRUB_TIMEOUT=10