efibootbgr

Manipulate the UEFI Boot Manager (the Bootoptions).

TLDR

List the current settings / bootnums

>_ efibootmgr
copy

List the filepaths

>_ efibootmgr -v
copy

Add UEFI Shell v2 as a boot option

>_ sudo efibootmgr -c -d [/dev/sda1] -l [\EFI\tools\Shell.efi] -L "[UEFI Shell]"
copy

Change the current boot order

>_ sudo efibootmgr -o [0002,0008,0001,0005]
copy

Delete a boot option

>_ sudo efibootmgr -b [0008] --delete-bootnum
copy

Copied to clipboard
free 100$ digital ocean credit