I'm trying to change the bootorder using efibootmgr.
The thing is, after reboot, Windows 8.1 sets itself as the default bootloader. To boot via grub, I need to press F12 every time when the laptop starts.
I'm facing this problem after I upgraded to Windows 8.1 from 8. This had messed up grub and I had to reinstall it.
[anirvan@dell ~]$ efibootmgr
Timeout: 0 seconds
Boot0001* UEFI Onboard LAN IPv4
Boot0002* UEFI Onboard LAN IPv6
Boot0005* Windows Boot Manager
Boot2001* EFI USB Device
I do "sudo efibootmgr -o 0003,0005,2001". This changes the order but after I reboot, Windows starts up and the order gets reverted. I've tried changing a few times. When I had installed Arch (I was running Windows 8), there was no problem in changing the order.
I know that I can get away by renaming and putting the grubx64.efi file in place of Windows' bootmgfw.efi file, but this is not clean.
I'm using Dell Inspiron 15R Turbo.
Having the exact same issue right here after upgrading to Windows 8.1, although I'm not sure this is the acutual cause of this issue.
A bit less dirty workaround (that works for me) is the following
sudo efibootmgr -n 0003
This only changes the order for the next reboot and somehow DOES work (as opposed to changing the bootorder).