You are not logged in.

#1 2012-04-28 04:37:45

badhat
Member
Registered: 2011-01-30
Posts: 112

[SOLVED] efibootmgr cannot change bootorder

I just did a clean installation on my system (got a bunch of new HDDs) and I've not had any issues with it before, but I cannot get the UEFI firmware to accept the bootorder commands from efibootmgr.

# efibootmgr
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0000,0001,0002,0003
Boot0000* SATA3:WDC WD5000AVVS-63ZWB0   
Boot0001* IBA GE Slot 0200 v1321
Boot0002* GRUB2
Boot0003* UEFI: Built-in EFI Shell

I can choose GRUB2 (option 0002) from my firmware to boot, but if I try to change the bootorder, for example:

# efibootmgr -o 2,0,1,3
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0000,0001,0003
Boot0000* SATA3:WDC WD5000AVVS-63ZWB0   
Boot0001* IBA GE Slot 0200 v1321
Boot0002* GRUB2
Boot0003* UEFI: Built-in EFI Shell

As you can see, the order does not change. However, other commands from efibootmanager succeed (e.g. I can delete boot entries and create them).
Has anyone encountered this issue? It used to work just fine for me. I'm considering clearing the CMOS on my 'board and just creating the entries again.

Last edited by badhat (2012-04-29 00:38:22)

Offline

#2 2012-04-28 05:17:13

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,112

Re: [SOLVED] efibootmgr cannot change bootorder

badhat wrote:

I can choose GRUB2 (option 0002) from my firmware to boot, but if I try to change the bootorder, for example:

# efibootmgr -o 2,0,1,3
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0000,0001,0003
Boot0000* SATA3:WDC WD5000AVVS-63ZWB0   
Boot0001* IBA GE Slot 0200 v1321
Boot0002* GRUB2
Boot0003* UEFI: Built-in EFI Shell

As you can see, the order does not change. However, other commands from efibootmanager succeed (e.g. I can delete boot entries and create them).
Has anyone encountered this issue? It used to work just fine for me. I'm considering clearing the CMOS on my 'board and just creating the entries again.

Looks to me like it worked.

You specified:

efibootmgr -o 2,0,1,3

And the output shows:

BootOrder: 0002,0000,0001,0003

Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

#3 2012-04-28 05:19:58

badhat
Member
Registered: 2011-01-30
Posts: 112

Re: [SOLVED] efibootmgr cannot change bootorder

That'll teach me not to check my output...

Anyhow, when I reboot it still ignores the entry and tries booting from the harddisk first (and, consequently, gives the error "missing boot loader"). Has anyone seen something like this?

Offline

#4 2012-04-28 05:33:10

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,112

Re: [SOLVED] efibootmgr cannot change bootorder

badhat wrote:

That'll teach me not to check my output...

Anyhow, when I reboot it still ignores the entry and tries booting from the harddisk first (and, consequently, gives the error "missing boot loader"). Has anyone seen something like this?

Try powering down entirely, then, when you power up, interrupt the boot sequence as if you wanted to choose an alternate boot option.

When I do this, I see my nice uefi boot menu and can select. If I don't interrupt the sequence, the default seems to be to go to the previous boot choice.

Also, you could just try specifying the "bootnext" option of efibootmgr.


Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

#5 2012-04-29 00:38:08

badhat
Member
Registered: 2011-01-30
Posts: 112

Re: [SOLVED] efibootmgr cannot change bootorder

Thanks. I actually had no issue with choosing the one-time boot option (it's F11 on my motherboard), but I was trying to get the GRUB2 UEFI application to be the default. This was useful to me if I ever reboot from a remote location.'

Anyway, I did clear the CMOS on my board and it is working again. I don't know what happened, but I'm guessing that I overlooked something this time as it has never been an issue for previous installations with this hardware!

Offline

#6 2014-07-03 00:10:32

Ikem
Member
Registered: 2012-08-10
Posts: 10
Website

Re: [SOLVED] efibootmgr cannot change bootorder

badhat wrote:

I try to change the bootorder, for example:

# efibootmgr -o 2,0,1,3
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0000,0001,0003
Boot0000* SATA3:WDC WD5000AVVS-63ZWB0   
Boot0001* IBA GE Slot 0200 v1321
Boot0002* GRUB2
Boot0003* UEFI: Built-in EFI Shell

As you can see, the order does not change.

I had to use this syntax to make it work:

# efibootmgr -o 0002,0000,0001,0003

Offline

#7 2014-07-03 01:38:34

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] efibootmgr cannot change bootorder


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB