Gentoo Archives: gentoo-user

From: "Серега Филатов" <raxp.worm202@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [offtopic] dual boot Windows 11 / Linux
Date: Sun, 10 Apr 2022 17:01:35
Message-Id: CABf1Ly8WV87dF=uxrk3_6a=ZgejH_penAT1cq1Q=jnfGqj1erQ@mail.gmail.com
In Reply to: Re: [gentoo-user] [offtopic] dual boot Windows 11 / Linux by Michael
1 Also if you've booted your live media in legacy mode then efibootmgr might
2 not do anything because efivars are not accessible in this mode. That could
3 explain the situation when you have grubx64.efi but no boot entry. So check
4 that you're booting live system in UEFI too.
5
6 On Sun, Apr 10, 2022, 20:02 Michael <confabulate@××××××××.com> wrote:
7
8 > On Sunday, 10 April 2022 14:58:26 BST Серега Филатов wrote:
9 > > If it's a similar laptop I assume you have grub2 installed in EFI mode.
10 > > Check if you have grubx64.efi in your EFI partition (usually /<mounted
11 > EFI
12 > > partition>/EFI/gentoo/).
13 > > Also check if you have efi boot entry for grub with efibootmgr utility.
14 > if
15 > > grub-install with EFI target was used on a new system it should call
16 > > efibootmgr to add a Gentoo entry in UEFI).
17 > >
18 > > If you are trying to install grub in legacy mode then look in UEFI
19 > settings
20 > > if CSM or legacy boot is enabled. But since you have win11 and you want
21 > > dual boot I don't think that it's what you want. Os-prober will not pick
22 > up
23 > > EFI win11 installation if grub is installed in legacy and you can't
24 > install
25 > > win11 in legacy since Microsoft made win11 UEFI-only.
26 >
27 > Some UEFI firmware is buggy and may not pick up a new OS bootloader in the
28 > ESP,
29 > at least not pick it up initially. In these cases temporarily changing a
30 > UEFI
31 > setting to nudge the firmware to parse the ESP for boot menu entries will
32 > help.
33 > So /should/ running the efibootmgr to create an entry with grub's efi
34 > image.