You are not logged in.

#1 2014-11-10 20:53:33

toni
Member
Registered: 2011-10-15
Posts: 437

[SOLVED]How to set bootcurrent using efibootmgr

I would like to know if it is possible to change the BootCurrent parameter using efibootmgr. Its help does not say anything about it. It is only possible to change the boot order.

If BootCurrent is set automatically and cannot be set manually, why is it set to a value and not to another?

Last edited by toni (2014-11-13 23:53:15)

Offline

#2 2014-11-10 21:21:43

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

Re: [SOLVED]How to set bootcurrent using efibootmgr

BootCurrent reports how the session you are currently in booted. You can only change it by rebooting and using a different entry.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-11-10 22:11:52

toni
Member
Registered: 2011-10-15
Posts: 437

Re: [SOLVED]How to set bootcurrent using efibootmgr

jasonwryan wrote:

BootCurrent reports how the session you are currently in booted. You can only change it by rebooting and using a different entry.

ok, so as I understand, If I set next boot to entry, let's say 0004, and entry 0004 is executed ok at reboot, then next time I check "efibootmgr .-v" it will show BootCurrent=0004. Otherwise, If entry 0004 couldn't be executed at next reboot and another entry, let's say, 0010, was executed (contained in the boot order), then next time I check outuput for "efibootmgr -v" it will show BootCurrent=0010.

Am I right?

So If I force next boot to entry 0009 by typiing:

efibootmgr -n 0009

then on reboot, system will try to boot from entry 0009, right? If it success, "efibootmgr -v" will output BootCurrent=0009, otherwise it will output the entry executed. right?

Offline

#4 2014-11-10 22:20:01

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

Re: [SOLVED]How to set bootcurrent using efibootmgr

It would have been quicker to just try it, wouldn't it?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB