View Full Version : How to create PciRoot UEFI boot entry?

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..

October 24th, 2017, 08:21 PM
It looks like those type of entries are either from Windows or UEFI shell.
Have not seen much recent use of UEFI shell.

More info on UEFI Shell:
But see note:

Try bcfg only if efibootmgr fails to create working boot entries on your system.

October 25th, 2017, 02:30 PM
Yes. I see now, pciroot entries could be created with bcfg. But ubuntu installer does this without bcfg. I wonder how.

October 25th, 2017, 03:03 PM
Yours is the first ubuntu entry I have seen with PciRoot entry.
And I have seen a lot of Boot-Repair summary reports. Have seen other types of entries, but assume they may be defaults created by UEFI itself.

What brand/model system? It may have to do with what UEFI you have?

October 25th, 2017, 10:47 PM
I have lenovo b550 aio system.

October 25th, 2017, 11:19 PM
Have not seem many Lenovo's Boot-Repair summary reports recently, so not much to compare to.

Do you have entries that work from efibootmgr?
Or do you just prefer a different type of entry that we do not know as much about?