efibootmgr -v efibootmgr -O efibootmgr -O -o XXXX,YYYY,ZZZZ
How to delete an unwanted entry in efibootmgr?
efibootmgr -Bb 0000 # efibootmgr -Bb 0000 BootCurrent: 0001 Timeout: 0 seconds BootOrder: 0002,2001,0001,2002,2003 Boot0001* Debian Boot0002* rEFInd Boot Manager Boot2001* EFI USB Device Boot2002* EFI DVD/CDROM Boot2003* EFI Network
Deleting a boot entry
efibootmgr -b 2 -B
Creating a boot entry
To create an EFI boot entry, a couple of arguments are passed to efibootmgr:
--create (-c) to create a new entry; --part (-p) followed by the partition number on which the EFI System Partition is hosted; --disk (-d) followed by the disk on which the EFI System Partition is hosted; --label (-L) followed by the label to use as the boot entry; --loader (-l) followed by the path of the EFI image to boot #efibootmgr -c -d /dev/sda -p 2 -L "Gentoo" -l "\efi\boot\bootx64.efi" efibootmgr -c -d /dev/sda -p 1 -L "SHIM" -l "\EFI\BOOT\BOOTX64.EFI" /File(\EFI\fedora\shimx64.efi)
No comments:
Post a Comment