Here are a few more examples of how you can use the bcfg
command in the EFI shell:
- To add a new boot option:
bcfg boot add 0 fs0:\EFI\Boot\bootx64.efi "Windows Boot Manager"
This adds a new boot option to the system that points to the bootx64.efi
file located in the EFI\Boot
directory on the first file system (fs0:
). The boot option is given a boot index of 0, and a description of “Windows Boot Manager”.
- To delete an existing boot option:
bcfg boot rm 1
This deletes the boot option with a boot index of 1 from the system.
- To view the current boot order:
bcfg boot dump
This displays the current boot order of the system.
- To change the boot order:
bcfg boot mv 2 0
This moves the boot option with a boot index of 2 to the top of the boot order (boot index 0).
- To set the boot options for the next boot only:
bcfg boot next 0
This sets the boot order for the next boot only to the boot option with a boot index of 0. This is useful if you want to temporarily change the boot order without permanently modifying the system’s boot configuration.
These are just a few examples of what you can do with the bcfg boot
command in the EFI shell. The full range of options and capabilities can vary depending on the specific implementation of the EFI firmware on your system.