kernel update (6.8.12-13) prints error message

tessus

Active Member
Oct 5, 2020
44
4
28
Toronto, Canada
I got the following error message during today's apt-get dist-upgrade:

E: bootctl is not available - make sure systemd-boot is installed

As far as I remember this is the first time seeing this message during a kernel update. I haven't modified the system by uninstalling random packages, so I am rather puzzled about this message.
Should I be concerned that the machine won't reboot properly? Shall I install systemd-boot manually? What are my next steps?

Here's the full output:

Code:
Hit:1 http://deb.debian.org/debian bookworm-backports InRelease
Hit:2 http://security.debian.org bookworm-security InRelease
Hit:3 http://download.proxmox.com/debian/pve bookworm InRelease
Hit:4 http://ftp.ca.debian.org/debian bookworm InRelease
Hit:5 http://ftp.ca.debian.org/debian bookworm-updates InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  proxmox-kernel-6.8.12-13-pve-signed
The following packages will be upgraded:
  proxmox-kernel-6.8 proxmox-kernel-helper pve-container
3 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/104 MB of archives.
After this operation, 577 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
Selecting previously unselected package proxmox-kernel-6.8.12-13-pve-signed.
(Reading database ... 102803 files and directories currently installed.)
Preparing to unpack .../proxmox-kernel-6.8.12-13-pve-signed_6.8.12-13_amd64.deb ...
Unpacking proxmox-kernel-6.8.12-13-pve-signed (6.8.12-13) ...
Preparing to unpack .../proxmox-kernel-6.8_6.8.12-13_all.deb ...
Unpacking proxmox-kernel-6.8 (6.8.12-13) over (6.8.12-12) ...
Preparing to unpack .../proxmox-kernel-helper_8.1.4_all.deb ...
Unpacking proxmox-kernel-helper (8.1.4) over (8.1.1) ...
Preparing to unpack .../pve-container_5.3.0_all.deb ...
Unpacking pve-container (5.3.0) over (5.2.7) ...
Setting up pve-container (5.3.0) ...
Setting up proxmox-kernel-6.8.12-13-pve-signed (6.8.12-13) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 6.8.12-13-pve /boot/vmlinuz-6.8.12-13-pve
update-initramfs: Generating /boot/initrd.img-6.8.12-13-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
Copying and configuring kernels on /dev/disk/by-uuid/B6B6-E1BE
    Copying kernel and creating boot-entry for 6.5.13-6-pve
    Copying kernel and creating boot-entry for 6.8.12-12-pve
    Copying kernel and creating boot-entry for 6.8.12-13-pve
    Removing old version 6.8.12-11-pve
    Removing old version 6.8.12-9-pve
Copying and configuring kernels on /dev/disk/by-uuid/B6B7-0946
    Copying kernel and creating boot-entry for 6.5.13-6-pve
    Copying kernel and creating boot-entry for 6.8.12-12-pve
    Copying kernel and creating boot-entry for 6.8.12-13-pve
    Removing old version 6.8.12-11-pve
    Removing old version 6.8.12-9-pve
run-parts: executing /etc/kernel/postinst.d/proxmox-auto-removal 6.8.12-13-pve /boot/vmlinuz-6.8.12-13-pve
run-parts: executing /etc/kernel/postinst.d/zz-proxmox-boot 6.8.12-13-pve /boot/vmlinuz-6.8.12-13-pve
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
Copying and configuring kernels on /dev/disk/by-uuid/B6B6-E1BE
    Copying kernel and creating boot-entry for 6.5.13-6-pve
    Copying kernel and creating boot-entry for 6.8.12-12-pve
    Copying kernel and creating boot-entry for 6.8.12-13-pve
Copying and configuring kernels on /dev/disk/by-uuid/B6B7-0946
    Copying kernel and creating boot-entry for 6.5.13-6-pve
    Copying kernel and creating boot-entry for 6.8.12-12-pve
    Copying kernel and creating boot-entry for 6.8.12-13-pve
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 6.8.12-13-pve /boot/vmlinuz-6.8.12-13-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.8.12-13-pve
Found initrd image: /boot/initrd.img-6.8.12-13-pve
/usr/sbin/grub-probe: error: unknown filesystem.
Found linux image: /boot/vmlinuz-6.8.12-12-pve
Found initrd image: /boot/initrd.img-6.8.12-12-pve
Found linux image: /boot/vmlinuz-6.8.12-11-pve
Found initrd image: /boot/initrd.img-6.8.12-11-pve
Found linux image: /boot/vmlinuz-6.8.12-9-pve
Found initrd image: /boot/initrd.img-6.8.12-9-pve
Found linux image: /boot/vmlinuz-6.5.13-6-pve
Found initrd image: /boot/initrd.img-6.5.13-6-pve
Found linux image: /boot/vmlinuz-5.13.19-2-pve
Found initrd image: /boot/initrd.img-5.13.19-2-pve
Found linux image: /boot/vmlinuz-5.4.124-1-pve
Found initrd image: /boot/initrd.img-5.4.124-1-pve
Found linux image: /boot/vmlinuz-5.4.73-1-pve
Found initrd image: /boot/initrd.img-5.4.73-1-pve
/usr/sbin/grub-probe: error: unknown filesystem.
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Setting up proxmox-kernel-helper (8.1.4) ...
Installing new version of config file /etc/kernel/postinst.d/zz-proxmox-boot ...
Installing new version of config file /etc/kernel/postrm.d/zz-proxmox-boot ...
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
UUID="B6B6-E1BE" SIZE="536870912" FSTYPE="vfat" PARTTYPE="c12a7328-f81f-11d2-ba4b-00a0c93ec93b" PKNAME="nvme1n1" MOUNTPOINT=""
Mounting '/dev/disk/by-uuid/B6B6-E1BE' on '/var/tmp/espmounts/B6B6-E1BE'.
Installing systemd-boot..
E: bootctl is not available - make sure systemd-boot is installed
Setting up proxmox-kernel-6.8 (6.8.12-13) ...
Processing triggers for initramfs-tools (0.142+deb12u3) ...
update-initramfs: Generating /boot/initrd.img-6.8.12-13-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
Copying and configuring kernels on /dev/disk/by-uuid/B6B6-E1BE
    Copying kernel and creating boot-entry for 6.5.13-6-pve
    Copying kernel and creating boot-entry for 6.8.12-12-pve
    Copying kernel and creating boot-entry for 6.8.12-13-pve
Copying and configuring kernels on /dev/disk/by-uuid/B6B7-0946
    Copying kernel and creating boot-entry for 6.5.13-6-pve
    Copying kernel and creating boot-entry for 6.8.12-12-pve
    Copying kernel and creating boot-entry for 6.8.12-13-pve
Processing triggers for pve-manager (8.4.5) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for pve-ha-manager (4.0.7) ...
 
Known Issues & Breaking Changes
Node Management

Systems booting via UEFI from a ZFS on root setup should install the systemd-boot package after the upgrade.
The systemd-boot was split out from the systemd package for Debian Bookworm based releases. It won't get installed automatically upon upgrade from Proxmox VE 7.4 as it can cause trouble on systems not booting from UEFI with ZFS on root setup by the Proxmox VE installer.
Systems which have ZFS on root and boot in UEFI mode will need to manually install it if they need to initialize a new ESP (see the output of proxmox-boot-tool status and the relevant documentation).
Note that the system remains bootable even without the package installed (the bootloader that was copied to the ESPs during intialization remains untouched), so you can also install it after the upgrade was finished.
It is not recommended installing systemd-boot on systems which don't need it, as it would replace grub as bootloader in its postinst script.
https://pve.proxmox.com/wiki/Roadmap#Proxmox_VE_8.0
 
Thanks for the reply. I've been running 8.x since it was released (upgraded from 7), so I am still a bit fuzzy on why I see this message only now.

Either way, the output of proxmox-boot-tool status is the following:

Code:
# proxmox-boot-tool status
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
System currently booted with uefi
B6B6-E1BE is configured with: uefi (versions: 6.5.13-6-pve, 6.8.12-12-pve, 6.8.12-13-pve)
B6B7-0946 is configured with: uefi (versions: 6.5.13-6-pve, 6.8.12-12-pve, 6.8.12-13-pve)

I am using 2 NVMEs in a RAID-1 for the OS (Proxmox ISO). So I reckon that I should install the systemd-boot package (even though it has booted up perfectly until now), correct?
 
I am using 2 NVMEs in a RAID-1 for the OS (Proxmox ISO). So I reckon that I should install the systemd-boot package (even though it has booted up perfectly until now), correct?
yes - installing systemd-boot is needed to update the boot-loader copies on the ESPs.