Hi
I try to follow this wiki, but it is incomplete for non-btrfs systems.
After # booctl install
we need to populate the EFI partition with at least one kernel.
kernel-install
working fine for that.
Example:
# kernel-install add 6.5.4-1-default /lib/modules/6.5.4-1-default/vmlinuz
# kernel-install add 6.5.3-1-default /lib/modules/6.5.3-1-default/vmlinuz
After that we have two bootable kernels in the EFI partition (I already deleted grub).
$ tree /boot/efi/
/boot/efi/
├── 13fa2da157c34b99a1b2d5d6e8eec38e
│ ├── 6.5.3-1-default
│ │ ├── initrd
│ │ └── linux
│ └── 6.5.4-1-default
│ ├── initrd
│ └── linux
├── EFI
│ ├── BOOT
│ │ └── BOOTX64.EFI
│ ├── Linux
│ └── systemd
│ └── systemd-bootx64.efi
└── loader
├── entries
│ ├── 13fa2da157c34b99a1b2d5d6e8eec38e-6.5.3-1-default.conf
│ └── 13fa2da157c34b99a1b2d5d6e8eec38e-6.5.4-1-default.conf
├── entries.srel
├── loader.conf
└── random-seed
$ bootctl list
type: Boot Loader Specification Type #1 (.conf)
title: openSUSE Tumbleweed (6.5.4-1-default) (default) (selected)
id: 13fa2da157c34b99a1b2d5d6e8eec38e-6.5.4-1-default.conf
source: /boot/efi//loader/entries/13fa2da157c34b99a1b2d5d6e8eec38e-6.5.4-1-default.conf
sort-key: opensuse-tumbleweed
version: 6.5.4-1-default
machine-id: 13fa2da157c34b99a1b2d5d6e8eec38e
linux: /boot/efi//13fa2da157c34b99a1b2d5d6e8eec38e/6.5.4-1-default/linux
initrd: /boot/efi//13fa2da157c34b99a1b2d5d6e8eec38e/6.5.4-1-default/initrd
options: root=UUID=52ec0975-e16c-4880-9fe6-c0dc4751c9c0 splash=silent mitigations=auto q>
type: Boot Loader Specification Type #1 (.conf)
title: openSUSE Tumbleweed (6.5.3-1-default)
id: 13fa2da157c34b99a1b2d5d6e8eec38e-6.5.3-1-default.conf
source: /boot/efi//loader/entries/13fa2da157c34b99a1b2d5d6e8eec38e-6.5.3-1-default.conf
sort-key: opensuse-tumbleweed
version: 6.5.3-1-default
machine-id: 13fa2da157c34b99a1b2d5d6e8eec38e
linux: /boot/efi//13fa2da157c34b99a1b2d5d6e8eec38e/6.5.3-1-default/linux
initrd: /boot/efi//13fa2da157c34b99a1b2d5d6e8eec38e/6.5.3-1-default/initrd
options: root=UUID=52ec0975-e16c-4880-9fe6-c0dc4751c9c0 splash=silent mitigations=auto q>
type: Automatic
title: Reboot Into Firmware Interface
id: auto-reboot-to-firmware-setup
source: /sys/firmware/efi/efivars/LoaderEntries-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
If you know a good solution for running kernel-install
after a kernel update, please let me know.
Back in Ubuntu I have /etc/kernel/postinst.d for sripts like that, but I don’t know the OpenSUSE way.