On Fri, Aug 28, 2015 at 3:18 PM, Gordon Messmer gordon.messmer@gmail.com wrote:
On 08/28/2015 11:30 AM, Paul Cartwright wrote:
Yeah, you will typically have just one system partition. In your case, it has different directories for the Fedora and Ubuntu shim and grubx64.efi, and grub.cfg.
but now I don't see the ubuntu folder, but the fedora folder.. do these folders get created/and/or/mounted differently for each OS??
My mistake.
From your first message, efibootmgr printed:
Boot0002* Fedora HD(8,GPT,ac2fc695-5de9-47d0-a19b-01e236404130,0x5ae5d800,0x2f800)/File(\EFI\fedora\shim.efi) ... Boot0004* ubuntu HD(1,GPT,4cc2fdac-58ea-400c-8ef9-11e13499addf,0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
So, /dev/sda8 has shim and grub for Fedora, and /dev/sda1 has shim and grub for Ubuntu. (It also has the Windows boot loader in it)
That answers my question. So the Ubuntu GRUB is used in any case, and seems to have a grub.cfg with Fedora boot entries. When Ubuntu is chosen, its fstab causes sda1 EFI System partition to be mounted at /boot/efi and when Fedora is chosen its fstab causes sda8 EFI System partition to be mounted at /boot/efi.
This is the sort of thing that pisses me off, when developers are all "custom is custom the user is expected to know what they're doing" [1] when exhibits A, B, C and D prove they do not know what they're doing, cannot be expected to know what they're doing because the knowledge necessary is esoteric, and then silence. And this results in subsequent UI/UX disaster like multiple ESPs and general ESP confusion, which is not the user's fault, but rather the installer's [2] but then such bad design gets closed as notabug. It's really f'n annoying! Not the user's fault!
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1010495#c57 [2] https://bugzilla.redhat.com/show_bug.cgi?id=1022316