rhboot / efibootmgr

efibootmgr development tree
GNU General Public License v2.0
514 stars 97 forks source link

an option to specify any boot index when adding an entry #199

Open muradurm opened 8 months ago

muradurm commented 8 months ago

VeraCrypt creates its entry with special boot index:

BootOrder: DC5B,0003,0000,0001,0002
Boot0000* EFI VMware Virtual NVME Namespace (NSID 1)    PciRoot(0x0)/Pci(0x17,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-00-00-00)
Boot0001* EFI VMware Virtual SATA CDROM Drive (1.0)     PciRoot(0x0)/Pci(0x11,0x0)/Pci(0x3,0x0)/Sata(1,0,0)
Boot0002* EFI Network   PciRoot(0x0)/Pci(0x15,0x0)/Pci(0x0,0x0)/MAC(000c29eb202a,0)
Boot0003* Windows Boot Manager  HD(1,GPT,f1e6232a-886b-4f62-8c67-cef6dfc36e82,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...4...............
BootDC5B* VeraCrypt BootLoader (DcsBoot)        HD(1,GPT,f1e6232a-886b-4f62-8c67-cef6dfc36e82,0x800,0x32000)/File(\EFI\VeraCrypt\DcsBoot.efi)

Please add an option to specify any index when adding an entry.