You are not logged in.

#1 2016-12-13 21:30:28

willy9
Member
Registered: 2009-04-14
Posts: 56

Can't reorder UEFI boot entries with efibootmgr

After a new arch installation, the system directly boots unders Windows without going through the grub menu. I figured out it could be because it is last in the boot order so I made sure it is correct:

guillaume@asterix ~> sudo efibootmgr -o 5,0,1,2,3,4

BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0005,0000,0001,0002,0003,0004
Boot0000* Notebook Hard Drive
Boot0001* Notebook Upgrade Bay
Boot0002* Notebook Ethernet
Boot0003* Notebook Ethernet
Boot0004* Windows Boot Manager
Boot0005* grub

But on subsequent reboot, no change : laptop directly boots in Windows anyway, and when I manage to get in linux (by selecting manually the grub efi file using the bios boot order menu) the boot order gets back to 0,1,2 :

guillaume@asterix ~> sudo efibootmgr -v

BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0000,0001,0002
Boot0000* Notebook Hard Drive   BBS(HD,,0x0).......................................................................
Boot0001* Notebook Upgrade Bay  BBS(CDROM,,0x0).......................................................................
Boot0002* Notebook Ethernet     BBS(128,,0x0)........................A..............................................
Boot0003* Notebook Ethernet     BBS(128,,0x0)........................A..............................................
Boot0004* Windows Boot Manager  HD(2,GPT,49220b2e-7d14-4c32-9552-ddead47939f9,0x96800,0xfa000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...9................
Boot0005* grub  HD(2,GPT,49220b2e-7d14-4c32-9552-ddead47939f9,0x96800,0xfa000)/File(\EFI\grub\grubx64.efi)

And before somebody asks, no I can't seem to find anything in the bios to make grub first (grub is not listed there)

Has anyone seen this before ? Any advice ?

Thanks in advance smile


Skrooge, a personal finances manager for the Plasma Desktop
http://skrooge.org

Offline

#2 2016-12-13 21:37:40

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Can't reorder UEFI boot entries with efibootmgr

willy9 wrote:

Has anyone seen this before ?

Some motherboards will boot the Windows .efi loader regardless of any `efibootmgr` alterations.

http://www.rodsbooks.com/efi-bootloader … ive-naming

Any advice ?

Set GRUB as the default loader from your Windows system:

https://wiki.archlinux.org/index.php/Un … boot_order

Offline

#3 2016-12-13 21:50:00

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: Can't reorder UEFI boot entries with efibootmgr

My HP laptop will not keep the EFI order if I try to set it from efibootmgr.  But, the pre-boot configuration menus (often mistakenly called the BIOS setup) do let me set the order, and they do stick.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#4 2016-12-13 23:24:58

willy9
Member
Registered: 2009-04-14
Posts: 56

Re: Can't reorder UEFI boot entries with efibootmgr

I will try with the windows trick next time I reboot, thanks smile


Skrooge, a personal finances manager for the Plasma Desktop
http://skrooge.org

Offline

Board footer

Powered by FluxBB