Also if you've booted your live media in legacy mode then efibootmgr might
not do anything because efivars are not accessible in this mode. That could
explain the situation when you have grubx64.efi but no boot entry. So check
that you're booting live system in UEFI too.

On Sun, Apr 10, 2022, 20:02 Michael <confabul...@kintzios.com> wrote:

> On Sunday, 10 April 2022 14:58:26 BST Серега Филатов wrote:
> > If it's a similar laptop I assume you have grub2 installed in EFI mode.
> > Check if you have grubx64.efi in your EFI partition (usually /<mounted
> EFI
> > partition>/EFI/gentoo/).
> > Also check if you have efi boot entry for grub with efibootmgr utility.
> if
> > grub-install with EFI target was used on a new system it should call
> > efibootmgr to add a Gentoo entry in UEFI).
> >
> > If you are trying to install grub in legacy mode then look in UEFI
> settings
> > if CSM or legacy boot is enabled. But since you have win11 and you want
> > dual boot I don't think that it's what you want. Os-prober will not pick
> up
> > EFI win11 installation if grub is installed in legacy and you can't
> install
> > win11 in legacy since Microsoft made win11 UEFI-only.
>
> Some UEFI firmware is buggy and may not pick up a new OS bootloader in the
> ESP,
> at least not pick it up initially.  In these cases temporarily changing a
> UEFI
> setting to nudge the firmware to parse the ESP for boot menu entries will
> help.
> So /should/ running the efibootmgr to create an entry with grub's efi
> image.

Reply via email to