I have a HP Laptop which I dual booted with Windows 8 and Linux Ubuntu. After the installation,Windows started automatically without any GRUB menu. However if I pressed F9 at the start I got "Boot Options" where Ubuntu was specified and I could boot into Ubuntu from there. So I searched the forum and found this article which explained how to restore the GRUB menu.
However even after trying following command several times I couldn't get the GRUB menu.
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
I even tried using efibootmgr
to change boot order but it was no god and I couldn't get the GRUB menu as the order was resetted every time I restarted my computer.