Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Strange UEFI boot behaviour
Date: Sun, 10 Jul 2022 14:19:18
Message-Id: 4746089.GXAFRqVoOG@wstn
1 Hello list,
2
3 One of my machines uses bootctl to offer a choice of kernel to boot (I don't
4 use anything else from systemd); it has these files in /boot/loader/entries:
5
6 08-gentoo-5.15.32-r1-rescue.conf
7 09-gentoo-5.15.32-r1-rescue.nonet.conf
8 30-gentoo-5.18.10.conf
9 32-gentoo-5.18.10.nox.conf
10 34-gentoo-5.18.10.nonet.conf
11 40-gentoo-5.15.41.conf
12 42-gentoo-5.15.41.nox.conf
13 44-gentoo-5.15.41.nonet.conf
14
15 Until a few days ago, the system offered the kernels cited in those .conf files
16 - in the same order as I've listed them. Also of course in ascending numerical
17 order. Both as expected.
18
19 Now, though, they're offered in precisely the opposite order (with the two
20 other usual options below them as before: Windows and Enter UEFI setup).
21
22 What might have caused this reversal?
23
24 $ cat /boot/loader/entries/30*f
25 title Gentoo 5.18.10
26 version 5.18.10-gentoo
27 linux vmlinuz-5.18.10-gentoo
28 initrd intel-uc.img
29 options root=/dev/nvme0n1p5 net.ifnames=0 raid=noautodetect pcie_aspm=off
30
31 $ cat /boot/loader/loader.conf
32 timeout 5
33 default 30-gentoo-5.18.10
34
35 $ ls /boot/vmlinuz-5.18.10-gentoo
36 /boot/vmlinuz-5.18.10-gentoo
37
38 $ efibootmgr
39 BootCurrent: 0001
40 Timeout: 1 seconds
41 BootOrder: 0001,0007,0011,0008,0000
42 Boot0000* Windows Boot Manager
43 Boot0001* Gentoo Linux
44 Boot0007* UEFI OS
45 Boot0008* Hard Drive
46 Boot0011* CD/DVD Drive
47
48 --
49 Regards,
50 Peter.

Replies

Subject Author
Re: [gentoo-user] Strange UEFI boot behaviour Michael <confabulate@××××××××.com>