public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] grub-install: error: cannot find EFI directory
@ 2022-07-27 12:33 n952162
  2022-07-27 13:00 ` n952162
  2022-07-27 13:28 ` [gentoo-user] grub-install: error: cannot find EFI directory [RESOLVED] n952162
  0 siblings, 2 replies; 4+ messages in thread
From: n952162 @ 2022-07-27 12:33 UTC (permalink / raw
  To: gentoo-user

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?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] grub-install: error: cannot find EFI directory
  2022-07-27 12:33 [gentoo-user] grub-install: error: cannot find EFI directory n952162
@ 2022-07-27 13:00 ` n952162
  2022-07-27 13:28 ` [gentoo-user] grub-install: error: cannot find EFI directory [RESOLVED] n952162
  1 sibling, 0 replies; 4+ messages in thread
From: n952162 @ 2022-07-27 13:00 UTC (permalink / raw
  To: gentoo-user

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

I see I have this:

CONFIG_EFI=y

CONFIG_EFI_STUB=y

CONFIG_EFI_MIXED=y


... or will I have to rebuild my kernel?

Surely genkernel would have determined that I have a BIOS system....
wouldn't it have?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] grub-install: error: cannot find EFI directory [RESOLVED]
  2022-07-27 12:33 [gentoo-user] grub-install: error: cannot find EFI directory n952162
  2022-07-27 13:00 ` n952162
@ 2022-07-27 13:28 ` n952162
  2022-07-27 14:08   ` Arve Barsnes
  1 sibling, 1 reply; 4+ messages in thread
From: n952162 @ 2022-07-27 13:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1031 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] grub-install: error: cannot find EFI directory [RESOLVED]
  2022-07-27 13:28 ` [gentoo-user] grub-install: error: cannot find EFI directory [RESOLVED] n952162
@ 2022-07-27 14:08   ` Arve Barsnes
  0 siblings, 0 replies; 4+ messages in thread
From: Arve Barsnes @ 2022-07-27 14:08 UTC (permalink / raw
  To: Gentoo

On Wed, 27 Jul 2022 at 15:24, n952162 <n952162@web.de> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-27 14:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-27 12:33 [gentoo-user] grub-install: error: cannot find EFI directory n952162
2022-07-27 13:00 ` n952162
2022-07-27 13:28 ` [gentoo-user] grub-install: error: cannot find EFI directory [RESOLVED] n952162
2022-07-27 14:08   ` Arve Barsnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox