Re: [gentoo-user] grub-install: error: cannot find EFI directory [RESOLVED]

2022-07-27 Thread Arve Barsnes
On Wed, 27 Jul 2022 at 15:24, n952162  wrote:
> Well, I discovered that this works:
>
>   grub-install --target=i386-pc /dev/sda
>
> Although that is an UNDOCUMENTED option!  It's dropped from the --help menu.
>
> I found it in the --help on an old system.
>
> Amazing how these things just disappear.

It shows both in --help and in the man page for my up-to-date grub.

Regards,
Arve



Re: [gentoo-user] grub-install: error: cannot find EFI directory [RESOLVED]

2022-07-27 Thread n952162

On 7/27/22 14:33, n952162 wrote:

Hello all,

has the default been changed from BIOS to EFI?

Do I have to, e.g. set the platform USE flag and reinstall the humongous
grub package or is there an option I can pass to grub-install?




Well, I discovered that this works:

*grub-install --target=i386-pc /dev/sda*

Although that is an UNDOCUMENTED option!  It's dropped from the --help menu.

I found it in the --help on an old system.

Amazing how these things just disappear.