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

    From Arve Barsnes@21:1/5 to n952162@web.de on Wed Jul 27 16:10:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From n952162@21:1/5 to All on Wed Jul 27 15:30:01 2022
    This is a multi-part message in MIME format.
    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.

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <div class="moz-cite-prefix">On 7/27/22 14:33, n952162 wrote:<br>
    </div>
    <blockquote type="cite"
    cite="mid:ae1ad4e6-7b51-0e84-f951-f699df4528ab@web.de">Hello all,
    <br>
    <br>
    has the default been changed from BIOS to EFI?
    <br>
    <br>
    Do I have to, e.g. set the platform USE flag and reinstall the
    humongous
    <br>
    grub package or is there an option I can pass to grub-install?
    <br>
    <br>
    <br>
    </blockquote>
    <p><br>
    </p>
    <p>Well, I discovered that this works:</p>
    <p>  <b><font face="monospace">grub-install --target=i386-pc
    /dev/sda</font></b></p>
    <p>Although that is an UNDOCUMENTED option!  It's dropped from the
    --help menu.</p>
    <p>I found it in the --help on an old system.</p>
    <p>Amazing how these things just disappear.<br>
    </p>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)