* [gentoo-user] Problem with "GRUB upgrades" news item
@ 2024-03-06 5:23 Walter Dnes
2024-03-06 6:02 ` Dale
2024-03-06 14:37 ` [gentoo-user] " Grant Edwards
0 siblings, 2 replies; 6+ messages in thread
From: Walter Dnes @ 2024-03-06 5:23 UTC (permalink / raw
To: Gentoo Users List
I've got a UEFI system. According to the news item...
> Re-runing grub-install both with and without the --removable option
> should ensure a working GRUB installation.
I tried that...
[i3][root][~] grub-install
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
[i3][root][~] grub-install --removable
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
Oops! My EFI directory...
[i3][root][~] ll /boot/EFI/
total 2
drwxr-xr-x 3 root root 512 Jun 11 2021 .
drwxr-xr-x 4 root root 1024 Dec 31 1969 ..
drwxr-xr-x 2 root root 512 Jun 11 2021 gentoo
Any ideas?
--
Roses are red
Roses are blue
Depending on their velocity
Relative to you
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Problem with "GRUB upgrades" news item
2024-03-06 5:23 [gentoo-user] Problem with "GRUB upgrades" news item Walter Dnes
@ 2024-03-06 6:02 ` Dale
2024-03-06 6:05 ` William Kenworthy
2024-03-06 6:45 ` Arve Barsnes
2024-03-06 14:37 ` [gentoo-user] " Grant Edwards
1 sibling, 2 replies; 6+ messages in thread
From: Dale @ 2024-03-06 6:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]
Walter Dnes wrote:
> I've got a UEFI system. According to the news item...
>
>> Re-runing grub-install both with and without the --removable option
>> should ensure a working GRUB installation.
> I tried that...
>
> [i3][root][~] grub-install
> Installing for x86_64-efi platform.
> grub-install: error: cannot find EFI directory.
> [i3][root][~] grub-install --removable
> Installing for x86_64-efi platform.
> grub-install: error: cannot find EFI directory.
>
> Oops! My EFI directory...
>
> [i3][root][~] ll /boot/EFI/
> total 2
> drwxr-xr-x 3 root root 512 Jun 11 2021 .
> drwxr-xr-x 4 root root 1024 Dec 31 1969 ..
> drwxr-xr-x 2 root root 512 Jun 11 2021 gentoo
>
> Any ideas?
>
I don't use EFI but I read on this the other day when I was working my
way through this news item. Here is a link.
https://wiki.gentoo.org/wiki/GRUB#Installing_GRUB_for_EFI
If you followed the docs for installing grub with EFI, you need to point
it to the location of the efi directory. The command might look like
this. |
grub-install --efi-directory=/efi
Hope that helps.
Dale
:-) :-)
|
[-- Attachment #2: Type: text/html, Size: 1853 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Problem with "GRUB upgrades" news item
2024-03-06 6:02 ` Dale
@ 2024-03-06 6:05 ` William Kenworthy
2024-03-06 6:45 ` Arve Barsnes
1 sibling, 0 replies; 6+ messages in thread
From: William Kenworthy @ 2024-03-06 6:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]
Is your efi fat32 formatted? (required)
This usually means its another partition mounted to /boot/EFI
BillK
On 6/3/24 14:02, Dale wrote:
> Walter Dnes wrote:
>> I've got a UEFI system. According to the news item...
>>
>>> Re-runing grub-install both with and without the --removable option
>>> should ensure a working GRUB installation.
>> I tried that...
>>
>> [i3][root][~] grub-install
>> Installing for x86_64-efi platform.
>> grub-install: error: cannot find EFI directory.
>> [i3][root][~] grub-install --removable
>> Installing for x86_64-efi platform.
>> grub-install: error: cannot find EFI directory.
>>
>> Oops! My EFI directory...
>>
>> [i3][root][~] ll /boot/EFI/
>> total 2
>> drwxr-xr-x 3 root root 512 Jun 11 2021 .
>> drwxr-xr-x 4 root root 1024 Dec 31 1969 ..
>> drwxr-xr-x 2 root root 512 Jun 11 2021 gentoo
>>
>> Any ideas?
>>
>
>
> I don't use EFI but I read on this the other day when I was working my
> way through this news item. Here is a link.
>
> https://wiki.gentoo.org/wiki/GRUB#Installing_GRUB_for_EFI
>
> If you followed the docs for installing grub with EFI, you need to
> point it to the location of the efi directory. The command might look
> like this. |
>
> grub-install --efi-directory=/efi
>
> Hope that helps.
>
> Dale
>
> :-) :-)
> |
[-- Attachment #2: Type: text/html, Size: 2352 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Problem with "GRUB upgrades" news item
2024-03-06 6:02 ` Dale
2024-03-06 6:05 ` William Kenworthy
@ 2024-03-06 6:45 ` Arve Barsnes
2024-03-06 9:15 ` [gentoo-user] [SOLVED] " Walter Dnes
1 sibling, 1 reply; 6+ messages in thread
From: Arve Barsnes @ 2024-03-06 6:45 UTC (permalink / raw
To: gentoo-user
On Wed, 6 Mar 2024 at 07:02, Dale <rdalek1967@gmail.com> wrote:
> If you followed the docs for installing grub with EFI, you need to point it to the location of the efi directory. The command might look like this.
>
> grub-install --efi-directory=/efi
>
> Hope that helps.
>
> Dale
Specifically in your case, Walter, that would be --efi-directory=/boot
Regards,
Arve
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] [SOLVED] Problem with "GRUB upgrades" news item
2024-03-06 6:45 ` Arve Barsnes
@ 2024-03-06 9:15 ` Walter Dnes
0 siblings, 0 replies; 6+ messages in thread
From: Walter Dnes @ 2024-03-06 9:15 UTC (permalink / raw
To: gentoo-user
On Wed, Mar 06, 2024 at 07:45:40AM +0100, Arve Barsnes wrote
>
> Specifically in your case, Walter, that would be --efi-directory=/boot
Thank you very much. A screen capture...
[i3][root][~] grub-install --efi-directory=/boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
[i3][root][~] grub-install --efi-directory=/boot --removable
Installing for x86_64-efi platform.
Installation finished. No error reported.
--
Roses are red
Roses are blue
Depending on their velocity
Relative to you
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: Problem with "GRUB upgrades" news item
2024-03-06 5:23 [gentoo-user] Problem with "GRUB upgrades" news item Walter Dnes
2024-03-06 6:02 ` Dale
@ 2024-03-06 14:37 ` Grant Edwards
1 sibling, 0 replies; 6+ messages in thread
From: Grant Edwards @ 2024-03-06 14:37 UTC (permalink / raw
To: gentoo-user
On 2024-03-06, Walter Dnes <waltdnes@waltdnes.org> wrote:
> I've got a UEFI system. According to the news item...
>
>> Re-runing grub-install both with and without the --removable option
>> should ensure a working GRUB installation.
>
> I tried that...
>
> [i3][root][~] grub-install
I believe you have to run grub-install using all the same options you
did originally. AFAICT, grub doesn't remember what you did the last
time.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-03-06 14:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06 5:23 [gentoo-user] Problem with "GRUB upgrades" news item Walter Dnes
2024-03-06 6:02 ` Dale
2024-03-06 6:05 ` William Kenworthy
2024-03-06 6:45 ` Arve Barsnes
2024-03-06 9:15 ` [gentoo-user] [SOLVED] " Walter Dnes
2024-03-06 14:37 ` [gentoo-user] " Grant Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox