On 2/6/20 12:10 am, Jonathan Billings wrote:
On Mon, Jun 01, 2020 at 11:20:31AM +0200, Patrick Dupre wrote:
with the -v option, I have
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0002,0001
Boot0000* fedora        
HD(3,GPT,a5c3bc11-e83b-48d0-be96-783af37228f1,0x2001800,0xfa000)/File(\EFI\FEDORA\GRUBX64.EFI)
[...]
However, I do not understand how does this work with multi disks.
We have
/boot/efi/EFI/fedora/grubx64.efi
on each disk ?
Which does not seem to be the case.
If you see in the Fedora entry, it has:
HD(3,GPT,a5c3bc11-e83b-48d0-be96-783af37228f1,0x2001800\
,0xfa000)/File(\EFI\FEDORA\GRUBX64.EFI)
I am confused by this process as well. If I issue the command efibootmgr -v I get the following output, and, I don't understand how that information relates to the segmented disk image that is being used when Fedora is run from a virtualbox vm running under windows, and in particular when I am booting Fedora via grub.

efibootmgr -v
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0005,0000,0001,0003,0004
Boot0000* UiApp FvVol(7cb8bdc9-f8eb-4f34-aaea-3ee4af6516a1)/FvFile(462caa21-7614-4503-836e-8ab6f4662331) Boot0001* UEFI VBOX CD-ROM VB0-01f003f6 PciRoot(0x0)/Pci(0x1,0x1)/Ata(0,0,0)N.....YM....R,Y. Boot0003* UEFI VBOX HARDDISK VB86498f1a-4c6a0da4 PciRoot(0x0)/Pci(0xd,0x0)/Sata(0,65535,0)N.....YM....R,Y. Boot0004* EFI Internal Shell FvVol(7cb8bdc9-f8eb-4f34-aaea-3ee4af6516a1)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1) Boot0005* Fedora HD(1,GPT,5a166b43-c099-429b-9587-4cc29389e1cf,0x800,0x12c000)/File(\EFI\fedora\shimx64.efi)

regards,
Steve

That means to look for a volume with the 3rd GPT partition, with the
UUID of a5c3bc11-e83b-48d0-be96-783af37228f1 (and some other data).
On that disk, look for the /EFI/FEDORA/GRUBX64.EFI executable
(remember, this is a DOS filesystem so it's case-insensitive).

Run 'blkid' on a running system, and you'll see that the PARTUUID of
the EFI volume matches the UUID in the above EFI entry.

You can have an EFI volume on multiple disks.  EFI also supports
things like network boot, which has a different syntax EFI entry.  The
efibootmgr command does a lot of the hard work of figuring that out
for you, so you don't need to manually enter that information.

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to