Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
efistub UKI not updating boot order
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
flipy
Apprentice
Apprentice


Joined: 15 Jul 2004
Posts: 233

PostPosted: Fri Nov 22, 2024 7:49 am    Post subject: efistub UKI not updating boot order Reply with quote

Hello,
I recently moved to a efistub UKI kernel install, following the official documentation [1] [2].
The problem that I have is that the boot order is not updated to the latest installed kernel, only next boot gets updated but then not persisted. And outdated and removed packages do not get deleted from the boot list.

I am using the following USE flags as instructed by the documentation.
Code:
sys-apps/systemd-utils boot kernel-install
sys-kernel/installkernel systemd uki dracut efistub


This is on a machine with
Code:
ACCEPT_KEYWORDS="~amd64"
.

And necessary packages to get efistub and UKI working with their enabled USE flags.
Code:
[I] sys-kernel/installkernel
     Available versions:  48-r1 {dracut efistub grub refind systemd systemd-boot ugrd uki ukify}
     Installed versions:  48-r1(08:41:16 08/26/24)(dracut efistub systemd uki -grub -refind -systemd-boot -ugrd -ukify)

[I] sys-kernel/gentoo-kernel
     Available versions: 
     (5.10.228) 5.10.228^tu
     (5.10.229) (~)5.10.229^tu
     (5.10.230) (~)5.10.230^tu
     (5.15.169) 5.15.169^tu
     (5.15.170) (~)5.15.170^tu
     (5.15.171) (~)5.15.171^tu
     (5.15.172) (~)5.15.172^tu
     (5.15.173) (~)5.15.173^tu
     (6.1.114) 6.1.114^tu
     (6.1.115) (~)6.1.115^tu
     (6.1.116) (~)6.1.116^tu
     (6.1.117) (~)6.1.117^tu
     (6.1.118) (~)6.1.118^tu
     (6.6.58) 6.6.58-r1^tu
     (6.6.59) (~)6.6.59^tu
     (6.6.60) (~)6.6.60^tu
     (6.6.61) (~)6.6.61^tu
     (6.6.62) (~)6.6.62^tu
     (6.11.5) (~)6.11.5-r1^tu
     (6.11.6) (~)6.11.6^tu
     (6.11.7) (~)6.11.7^tu
     (6.11.8) (~)6.11.8^tu
     (6.11.9) (~)6.11.9^tu
       {debug experimental generic-uki hardened +initramfs modules-compress modules-sign savedconfig secureboot +strip test}
     Installed versions:  6.11.9(6.11.9)^t(22:40:03 11/19/24)(debug initramfs strip -experimental -generic-uki -hardened -modules-compress -modules-sign -savedconfig -secureboot -test)

[I] sys-apps/systemd-utils
     Available versions:  254.13^t (~)254.16^t 254.17^t (~)254.18^t (~)254.19^t (~)255.10^t (~)255.11^t (~)255.12^t (~)255.13^t {+acl boot kernel-install +kmod secureboot selinux split-usr sysusers test +tmpfiles +udev ukify ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" PYTHON_SINGLE_TARGET="python3_10 python3_11 python3_12 python3_13"}
     Installed versions:  255.13^t(18:45:41 11/12/24)(acl boot kernel-install kmod split-usr tmpfiles udev -secureboot -selinux -sysusers -test -ukify ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="32 64 -x32" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13")



kernel-bootcfg-boot-successful service is enabled at default run level.

What could be the reason to not update the boot list and boot order?

[1] https://wiki.gentoo.org/wiki/Unified_kernel_image
[2] https://wiki.gentoo.org/wiki/EFI_stub
Back to top
View user's profile Send private message
Nowa
Developer
Developer


Joined: 25 Jun 2014
Posts: 430
Location: Nijmegen

PostPosted: Fri Nov 22, 2024 10:25 am    Post subject: Reply with quote

Please share the output of:

Code:
emerge --config gentoo-kernel


And:

Code:
systemctl status kernel-bootcfg-boot-successful


Quote:
What could be the reason to not update the boot list and boot order?


What motherboard is this? It could be that manipulating the boot entries and/or boot order is not supported/allowed from the OS by the UEFI.
_________________
OS: Gentoo 6.10.12-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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