On Wed, Jan 28, 2015 at 1:23 PM, Stefan G. Weichinger <li...@xunil.at> wrote:
> On 28.01.2015 01:36, Neil Bothwick wrote:
>> On Wed, 28 Jan 2015 00:40:32 +0100, Stefan G. Weichinger wrote:
>>>>
>>>> No need for chainloading with UEFI. Set Gummiboot as the
>>>> default boot option and hold down Esc (or whichever key your
>>>> motherboard uses, it would have been nice if UEFI had
>>>> standardised that too) when booting if you want Grub instead
>>>
>>> So I would have to have grub-2.x and gummiboot installed in
>>> parallel? Both as UEFI-"boot-entries", right?
>>
>> Yes. When I first tried Gummiboot, I left Grub as the default until
>> I was happy with Gummiboot, then I changed the default with
>> efibootmgr.
>
> And what is your partitioning and fstab?
>
> gummiboot wants all inside the ESP and this mounted at /boot:
>
> # grep boot /etc/fstab
> UUID=E004-1D89  /boot   vfat    auto    1       2
>
> The gentoo GRUB2 wiki tells me to mount that at /boot/efi ...
>
> And grub2 fails to install now (with or without --boot-directory):
>
> # grub2-install --target=x86_64-efi --boot-directory=/boot
> Installing for x86_64-efi platform.
> grub2-install: error: cannot find EFI directory.

Try to add '--efi-directory=/boot' to your grub-install invocation
although I wonder whether grub-mkconfig will find your kernels and
initramfs's if they aren't in the root of '/boot'.

Reply via email to