2

Is it possible to edit EFI boot entries (namely the boot order) from within Windows?

From what I can gather, Windows 11 only provides those options on the recovery mode, which requires a restart; but I'm looking for a simpler and more straightforward way to achieve this.

EDIT: I already have a Linux bootloader configured, but would like to update the boot order directly from within windows e.g. before a restart. I'm already able to list the EFI entries with BCDEdit /enum firmware, but I'm unsure how to update the BootOrder parameter.

1 Answers1

1

Global EFI parameters are configured through the {fwbootmgr} object. BootOrder corresponds to the displayorder parameter, while BootNext is mapped to bootsequence. (Do not confuse them with similar parameters on {bootmgr} which represents the Windows Boot Manager instead.)

Both parameters use GUIDs from the BCD representation of EFI entries (i.e. from /enum firmware).

bcdedit /set {fwbootmgr} displayorder {SOME-GUID-HERE} /addfirst

(Found a source.)

grawity
  • 501,077