 
    
efibootmgr
Used to edit the efi boot records
sudo efibootmgr -v: list the boot recordssudo efibootmgr -o new_list_of_boot_numbers: used to edit efi boot ordersudo efibootmgr -b <bootnum> -B: delete a boot number (-b option specify the boot number. -B option delete that boot number.)sudo efibootmgr -b <bootnum> -a: make boot number activesudo efibootmgr -b <bootnum> -A: make boot number inactivesudo efibootmgr -c -d /dev/sda -p 1 -L "Linux Boot Manager" -l "\EFI\Boot\BOOTX64.EFI":
-c: create new entry-d: disk (here /dev/sda)-p: part (partition number on which the EFI System Partition is hosted)-L: Label-l: Loader name (where the boot menu resides, path of the EFI image to boot)