Amunhateb
October 24th, 2017, 03:50 PM
Hi. Could someone plz help me understand how to create entries in EFI boot manager with PciRoot format instead of format started with HD(...
As you can see Ubuntu after installation creates two entries:
Boot0001* Ubuntu PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(4,GPT,43ac8691-7b16-4ee1-b04c-d808d26fb0c3,0x6a0e800,0x32000)/File(\EFI\ubuntu\grubx64.efi)RC
Boot0002* ubuntu HD(4,GPT,43ac8691-7b16-4ee1-b04c-d808d26fb0c3,0x6a0e800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
When I manually creating a boot entry using efibootmgr. E.g. like that:
sudo efibootmgr -c -d /dev/sda -p 4 -L "UEFI Generic Boot" -l "\EFI\BOOT\BOOTX64.EFI"
I see:
Boot0004* UEFI Generic Boot HD(4,GPT,43ac8691-7b16-4ee1-b04c-d808d26fb0c3,0x6a0e800,0x32000)/File(\EFI\BOOT\BOOTX64.EFI)
But I want to be able to create entries based on PciRoot. Can anybody help me achieve this..
As you can see Ubuntu after installation creates two entries:
Boot0001* Ubuntu PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(4,GPT,43ac8691-7b16-4ee1-b04c-d808d26fb0c3,0x6a0e800,0x32000)/File(\EFI\ubuntu\grubx64.efi)RC
Boot0002* ubuntu HD(4,GPT,43ac8691-7b16-4ee1-b04c-d808d26fb0c3,0x6a0e800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
When I manually creating a boot entry using efibootmgr. E.g. like that:
sudo efibootmgr -c -d /dev/sda -p 4 -L "UEFI Generic Boot" -l "\EFI\BOOT\BOOTX64.EFI"
I see:
Boot0004* UEFI Generic Boot HD(4,GPT,43ac8691-7b16-4ee1-b04c-d808d26fb0c3,0x6a0e800,0x32000)/File(\EFI\BOOT\BOOTX64.EFI)
But I want to be able to create entries based on PciRoot. Can anybody help me achieve this..