Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Going from single MBR Gentoo 2 UEFI dual Win+grub[linux]...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3634

PostPosted: Mon Mar 21, 2022 4:49 pm    Post subject: Going from single MBR Gentoo 2 UEFI dual Win+grub[linux]... Reply with quote

I'm looking for the simple way to prepare my current MBR single partition (boot + root) with grub installed on the PARTITION + /home partition to be ready for duplication on the new UEFI HD.
Thus whishing to have minimal work to bind the boot process to that new partition.

Kernel is GPT ready, IIRC.
Because of minimal approach, EFI layer is missing

OpenRC with no initramfs here.

As far as Windows partition layout is concerned, I'd like to keep the factory reset...
There are 4 partitions which I plan to keep contiguous once Windows OS partition has been resized. Thus duplicated Gentoo partition would be placed as the 5th partition. Would this be a problem?

What else could be missing?

Binding ESP to Gentoo boot+root partition will be new to me...
Any link easy to follow and understand?

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "


Last edited by CaptainBlood on Sun Jul 24, 2022 9:08 am; edited 1 time in total
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3634

PostPosted: Wed Mar 23, 2022 5:50 pm    Post subject: Reply with quote

I tried by best following wiki...
I order to chroot into replicated partition /dev/sda5, I first booted on MBR...
grub-install failed on missing efivars... UEFI boot required!

I had to tweak BIOS UEFI to let Gentoo Install media boot:

One configuration displayed a tree file selector to choose a file to register.
There was two kinds of registration: one with hash, can't remember the second option...

I was so lost there that I tried to tweak UEFI, by disabling Secure Boot, which kept UEFI booting active... :).
Booted without any query.
Code:
grub-install --efi-directory=/boot/efi
generated
Code:
tree -L 3 /boot/efi
[/dev/sda1 mounted on /dev/sda5]
/boot/efi
├── EFI
│   ├── Boot
│   │   └── bootx64.efi
│   ├── gentoo
│   │   └── grubx64.efi
│   └── Microsoft
│       ├── Boot
│       └── Recovery
└── System Volume Information

Code:
grub-mkconfig -o /boot/grub/grub.cfg
updated /boot.grub with new items:
Code:
tree -L 1 /boot/grub
[/dev/sda6]
/boot/grub
├── grub.cfg
└── x86_64-efi
the latter containing many *.mod files.
Besides possible missing parts Is that configuration right enough?

Anyhow booting keeps starting M$ without any prompt. :oops:

Because with UEFI booted Gentoo install media, grub.cfg refers to
Code:
set root='hd2,gpt5'
.
grub.cfg doesn't contain any menu entry for M$.

Any advice?

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1681

PostPosted: Wed Mar 23, 2022 7:17 pm    Post subject: Reply with quote

Now verify that a "Gentoo" entry exists from:
Code:
efibootmgr -v
(post it here too)

If it does, tell your mainboard firmware to boot it, either in the firmware menu or via efibootmgr to change the BootOrder
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3634

PostPosted: Wed Mar 23, 2022 7:38 pm    Post subject: Reply with quote

There was some errors in the script I followed above as os-prober was NOT installed. Now fixed

grub-install has installed the two directories in /boot/grub, not grub-mkconfig as stated earlier... :oops:

Now fixed, rerun the grub-install & grub-mkconfig, as the latter returned;
Code:
Generating grub configuration file ...
Found background: /boot/grub/splash/livecd-2007.0/background-1366x768-4-grub.png
Found linux image: /boot/vmlinuz-5.17.0-gentoo-sof
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.17.0-gentoo-r8168
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.17.0-gentoo-nomei
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.17.0-gentoo-nofbcondecor
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.17.0-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.17.0-gentoo-efi
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.17.0-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.16-gentoo-sof
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.16-gentoo-r8168
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.16-gentoo-nomei
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.16-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.16-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.2-gentoo-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.2-gentoo-r81v2
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.2-gentoo-classv2
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.15.28-gentoo-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.15.28-gentoo-r8168
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.15.28-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.15.28-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.14.21-gentoo-r8168
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.14.21-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.14.21-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.14.2-gentoo-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.13.19-gentoo-r8168
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.13.19-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.13.19-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.13.0-gentoo-r1-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.12.19-gentoo-lto-experimental
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.12.19-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.12.19-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.11.22-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.11.22-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.11.4-gentoo-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.10.106-gentoo-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.10.106-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.10.106-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.8.0-lto-experimental-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.4.182-gentoo-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.4.182-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.4.182-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-4.19.233-gentoo-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-4.19.233-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-4.19.233-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-4.14.272-gentoo-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-4.14.272-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/share/os-prober/common.sh: line 62: logger: command not found
Adding boot menu entry for UEFI Firmware Settings ...
done
Code:
[I] sys-boot/grub
     Installed versions:  2.06-r1(2/2.06-r1)^t(21:59:03 23/03/2022)(mount nls -device-mapper -doc -efiemu -fonts -libzfs -sdl -test -themes -truetype GRUB_PLATFORMS="efi-64 pc -coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -qemu -qemu-mips -uboot -xen -xen-32 -xen-pvh")
Code:
eixi os-prober
[I] sys-boot/os-prober
     Installed versions:  1.78-r1(21:59:29 23/03/2022)
Code:
[I] sys-fs/ntfs3g
     Available versions:  2021.8.22(0/89) 2021.8.22-r3(0/89) {acl debug +fuse +mount-ntfs ntfsdecrypt +ntfsprogs static-libs suid xattr}
     Installed versions:  2021.8.22-r3(0/89)(22:09:14 23/03/2022)(fuse mount-ntfs ntfsprogs -acl -debug -ntfsdecrypt -static-libs -suid -xattr)
Obviously something went wrong with os-prober... Any idea?

@grknight,
Thks 4 ur reply...
About to follow your advice

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3634

PostPosted: Thu Mar 24, 2022 2:49 pm    Post subject: Reply with quote

Did Windows 21H2 reinstall, which didn't remove my ext4 all-in-one /root partition.
Code:
efibootmgr -v
before grub-install:
Code:
cat initial-efibootmgr.out
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001,0000,0000,0000
Boot0000* Windows Boot Manager   HD(1,GPT,efc0bcbf-07a9-45c1-92ca-c175e5e93af6,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...3................
Boot0001* UEFI:  USB DISK 2.0 PMAP, Partition 1   PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/USB(0,0)/HD(1,MBR,0xcad4ebea,0x100,0x1ce1fc0)..BO
Boot744A  UEFI:  USB DISK 2.0 PMAP, Partition 1   PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/USB(0,0)/HD(1,MBR,0xcad4ebea,0x100,0x1ce1fc0)..BO
BootDFDF  Current   VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
after grub-install:
Code:
cat second-efibootmgr.out
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0002,0001,0000,0000,0000
Boot0000* Windows Boot Manager   HD(1,GPT,efc0bcbf-07a9-45c1-92ca-c175e5e93af6,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...3................
Boot0001* UEFI:  USB DISK 2.0 PMAP, Partition 1   PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/USB(0,0)/HD(1,MBR,0xcad4ebea,0x100,0x1ce1fc0)..BO
Boot0002* gentoo   HD(1,GPT,efc0bcbf-07a9-45c1-92ca-c175e5e93af6,0x800,0x32000)/File(\EFI\gentoo\grubx64.efi)
Boot744A  UEFI:  USB DISK 2.0 PMAP, Partition 1   PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/USB(0,0)/HD(1,MBR,0xcad4ebea,0x100,0x1ce1fc0)..BO
BootDFDF  Current   VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)

Despite BootOrder & Boot0002* gentoo, gentoo doesn't show up in bios menu: only Windows thing
nor show selector once rebooted: Windows booted without any prompt.

Code:
grub-mkconfig -o /boot/grub/grub.cfg
keeps returning
Code:
cat os-prober-errors.out
Generating grub configuration file ...
Found background: /boot/grub/splash/livecd-2007.0/background-1366x768-4-grub.png
Found linux image: /boot/vmlinuz-5.17.0-gentoo-sof
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.17.0-gentoo-sof.old
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.17.0-gentoo-r8168
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.17.0-gentoo-nomei
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.17.0-gentoo-nofbcondecor
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.17.0-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.17.0-gentoo-efi
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.17.0-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.17.0-gentoo-classic.old
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.16-gentoo-sof
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.16-gentoo-r8168
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.16-gentoo-r8168.old
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.16-gentoo-nomei
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.16-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.16-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.2-gentoo-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.2-gentoo-r81v2
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.16.2-gentoo-classv2
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.15.28-gentoo-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.15.28-gentoo-r8168
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.15.28-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.15.28-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.14.21-gentoo-r8168
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.14.21-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.14.21-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.14.2-gentoo-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.13.19-gentoo-r8168
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.13.19-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.13.19-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.13.0-gentoo-r1-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.12.19-gentoo-lto-experimental
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.12.19-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.12.19-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.12.19
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.11.22-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.11.22-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.11.4-gentoo-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.10.106-gentoo-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.10.106-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.10.106-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.8.0-lto-experimental-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.4.182-gentoo-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.4.182-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-5.4.182-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-4.19.233-gentoo-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-4.19.233-gentoo-rt.old
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-4.19.233-gentoo-iptables
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-4.19.233-gentoo-iptables.old
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-4.19.233-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-4.19.233-gentoo-classic.old
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-4.14.272-gentoo-rt
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-4.14.272-gentoo-rt.old
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-4.14.272-gentoo-classic
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-4.14.272-gentoo-classic.old
Found initrd image: /boot/early_ucode.cpio
Found linux image: /boot/vmlinuz-4.9.301-gentoo
Found initrd image: /boot/early_ucode.cpio
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/lib/os-probes/init/10filesystems: line 29: logger: command not found
/usr/share/os-prober/common.sh: line 62: logger: command not found
Adding boot menu entry for UEFI Firmware Settings ...
done
So something'w wrong with os-prober here.


As a side note, M$ original EFI sda1 partition has been backuped prior to doing any change to it.


Thanks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "


Last edited by CaptainBlood on Tue Oct 11, 2022 2:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Fri Mar 25, 2022 1:30 pm    Post subject: Reply with quote

CaptainBlood wrote:

Despite BootOrder & Boot0002* gentoo, gentoo doesn't show up in bios menu: only Windows thing
nor show selector once rebooted: Windows booted without any prompt.

Doesn't your computer's BIOS allow to see or select the boot entries?
Even my not so new Dell laptop does and I never bother with efibootmgr
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3634

PostPosted: Sat Mar 26, 2022 7:10 pm    Post subject: Reply with quote

After doing my homework things have improved a little here:
Code:
efibootmgr
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001
Boot0000* Windows Boot Manager
Boot0001* gentoo

Booting to M$ changes BootOrder: entry, by adding Boot0001.
Afterwards M$ will boot as soon as listed there, whatever ordering.
Only
Code:
efibootmgr -o 1
will reset BootOrder: as shown above, as the only configuration allowing to reboot to gentoo.

As soon as M$ has been booted, rebooting to gentoo install media is required to set ESP to allow booting to gentoo.
With the above setting, BIOS shows gentoo selected, and doesn't allow to change to M$.

As a side note os-prober requires util-linux USE=logger to detect M$ and add its entry to grub.cfg. (/etc/portage/make.conf USE=-* is the culprit for some, adequate ebuild would have avoid this nevertheless.)

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3634

PostPosted: Sun Jul 24, 2022 9:03 am    Post subject: Reply with quote

Had to run
Code:
bcdedit /set {bootmgr} path \EFI\gentoo\grubx64.efi
in Win10 console so that grub remains the boot loader after Win10 has been booted into.
Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3634

PostPosted: Wed Jul 27, 2022 2:17 pm    Post subject: Reply with quote

Only remaining functionnal issue is lack of hibernation.
No secure boot.
Any clue?

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum