Another v8 to v9 "Help Me" thread - systemd-boot package

qupterra

New Member
Oct 14, 2024
4
0
1
Hi all,

I'm not the most proficient homelabber, so bare with me.

I have a single-node proxmox instance, set up on a single bare metal host, nightly host backups running across to a NAS, so I'm relatively confident I can recover them from a catastrophic failure.

I've been reviewing a lot of threads about the systemd-boot error:
Code:
FAIL: systemd-boot meta-package installed. This will cause problems on upgrades of other boot-related packages. Remove 'systemd-boot' See https://pve.proxmox.com/wiki/Upgrade_from_8_to_9#sd-boot-warning for more information.

What I'm struggling with is finding one that I'm confident is exactly the same as my setup.

Code:
user@proxmox:~# efibootmgr -v
BootCurrent: 0001
Timeout: 3 seconds
BootOrder: 0000,0001
Boot0000* proxmox       HD(2,GPT,26a0732c-8634-4848-ad8a-e0316d903f12,0x800,0x200000)/File(\EFI\proxmox\shimx64.efi)
Boot0001* UEFI OS       HD(2,GPT,26a0732c-8634-4848-ad8a-e0316d903f12,0x800,0x200000)/File(\EFI\BOOT\BOOTX64.EFI)..BO

Code:
user@proxmox:~# proxmox-boot-tool status
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
E: /etc/kernel/proxmox-boot-uuids does not exist.

Code:
user@proxmox:~# ls -al /boot/efi/
total 12
drwxr-xr-x 3 root root 4096 Jan  1  1970 .
drwxr-xr-x 5 root root 4096 May 16 12:24 ..
drwxr-xr-x 4 root root 4096 Mar 17  2025 EFI

I can see both shimx64.efi *and* bootx64.efi - most of the threads I've seen have definitively got one or the other, so I'm not confident with taking any specific action without checking with some cleverer people first.

The above output makes me think that this system is running EFI, and thus that the I may have intentionally installed the systemd-boot package back when I set this node up originally.

I'm hoping someone has some time to have a look over and let me know their thoughts on whether I can safely remove systemd-boot, because my gut feel from reading this is that I can't/shouldn't...
 
Hi,

Before removing any packages, please post the output of the following commands:

bootctl status
ls -R /boot/efi/EFI
dpkg -l | grep -E 'systemd-boot|grub|proxmox-boot'
findmnt /
lsblk -f

This should help confirm which bootloader is actually being used.
 
  • Like
Reactions: qupterra
Apologies - there's a lot of text coming up:
Code:
user@proxmox:~#  bootctl status
systemd-boot not installed in ESP.
System:
      Firmware: n/a (n/a)
 Firmware Arch: x64
   Secure Boot: enabled (user)
  TPM2 Support: yes
  Boot into FW: supported

Current Boot Loader:
      Product: n/a
     Features: ✗ Boot counting
               ✗ Menu timeout control
               ✗ One-shot menu timeout control
               ✗ Default entry control
               ✗ One-shot entry control
               ✗ Support for XBOOTLDR partition
               ✗ Support for passing random seed to OS
               ✗ Load drop-in drivers
               ✗ Support Type #1 sort-key field
               ✗ Support @saved pseudo-entry
               ✗ Support Type #1 devicetree field
               ✗ Boot loader sets ESP information
          ESP: n/a
         File: └─n/a

Random Seed:
 Passed to OS: no
 System Token: not set
       Exists: no

Available Boot Loaders on ESP:
          ESP: /boot/efi (/dev/disk/by-partuuid/26a0732c-8634-4848-ad8a-e0316d903f12)
         File: └─/EFI/BOOT/BOOTx64.efi

Boot Loaders Listed in EFI Variables:
        Title: proxmox
           ID: 0x0000
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/26a0732c-8634-4848-ad8a-e0316d903f12
         File: └─/EFI/proxmox/shimx64.efi

        Title: UEFI OS
           ID: 0x0001
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/26a0732c-8634-4848-ad8a-e0316d903f12
         File: └─/EFI/BOOT/BOOTX64.EFI

Code:
user@proxmox:~#  ls -R /boot/efi/EFI
/boot/efi/EFI:
BOOT  proxmox

/boot/efi/EFI/BOOT:
BOOTx64.efi  fbx64.efi  grubx64.efi  mmx64.efi

/boot/efi/EFI/proxmox:
BOOTX64.CSV  fbx64.efi  grub.cfg  grubx64.efi  mmx64.efi  shimx64.efi

Code:
@proxmox:~#  dpkg -l | grep -E 'systemd-boot|grub|proxmox-boot'
ii  grub-common                          2.06-13+pmx7                        amd64        GRand Unified Bootloader (common files)
ii  grub-efi-amd64                       2.06-13+pmx7                        amd64        GRand Unified Bootloader, version 2 (EFI-AMD64 version)
ii  grub-efi-amd64-bin                   2.06-13+pmx7                        amd64        GRand Unified Bootloader, version 2 (EFI-AMD64 modules)
ii  grub-efi-amd64-signed                1+2.06+13+pmx7                      amd64        GRand Unified Bootloader, version 2 (amd64 UEFI signed by Debian)
ii  grub-pc-bin                          2.06-13+pmx7                        amd64        GRand Unified Bootloader, version 2 (PC/BIOS modules)
ii  grub2-common                         2.06-13+pmx7                        amd64        GRand Unified Bootloader (common files for version 2)
ii  proxmox-grub                         2.06-13+pmx7                        amd64        Empty package to ensure Proxmox Grub packages are installed
ii  systemd-boot                         252.39-1~deb12u1                    amd64        simple UEFI boot manager - tools and services
ii  systemd-boot-efi:amd64               252.39-1~deb12u1                    amd64        simple UEFI boot manager - EFI binaries

Code:
@proxmox:~#  findmnt /
TARGET SOURCE               FSTYPE OPTIONS
/      /dev/mapper/pve-root ext4   rw,relatime,errors=remount-ro

Code:
@proxmox:~#  lsblk -f
NAME                               FSTYPE      FSVER    LABEL UUID                                   FSAVAIL FSUSE% MOUNTPOINTS
nvme0n1                                                                                                             
├─nvme0n1p1                                                                                                         
├─nvme0n1p2                        vfat        FAT32          D262-9E8A                              1010.3M     1% /boot/efi
└─nvme0n1p3                        LVM2_member LVM2 001       Lug0qA-yBDY-kwUr-CU6c-ZvWc-QmiF-jClxCs               
  ├─pve-swap                       swap        1              9f1f6c00-a02a-461a-b179-010f30c7527d                  [SWAP]
  ├─pve-root                       ext4        1.0            5165e866-bc17-4eba-a084-fd3d3c8aa924     81.6G     8% /
  ├─pve-data_tmeta                                                                                                 
  │ └─pve-data-tpool                                                                                               
  │   ├─pve-data                                                                                                   
  │   ├─pve-vm--104--disk--0                                                                                       
  │   └─pve-vm--104--disk--1                                                                                       
  └─pve-data_tdata                                                                                                 
    └─pve-data-tpool                                                                                               
      ├─pve-data                                                                                                   
      ├─pve-vm--104--disk--0                                                                                       
      └─pve-vm--104--disk--1                                                                                       
nvme1n1                                                                                                             
├─nvme1n1p1                                                                                                         
└─nvme1n1p2                        LVM2_member LVM2 001       UKyU1l-4ilu-FWDn-D4mT-ecss-JlIt-bkLY1w               
  ├─vmstorage-vmstorage_tmeta                                                                                       
  │ └─vmstorage-vmstorage-tpool                                                                                     
  │   ├─vmstorage-vmstorage                                                                                         
  │   ├─vmstorage-vm--105--disk--0                                                                                 
  │   ├─vmstorage-vm--106--disk--0 ext4        1.0            16467376-f267-4681-bf36-ae033cbf7639                 
  │   └─vmstorage-vm--103--disk--0 ext4        1.0            c9b5084e-3981-4bdd-8068-10db35949b30                 
  └─vmstorage-vmstorage_tdata                                                                                       
    └─vmstorage-vmstorage-tpool                                                                                     
      ├─vmstorage-vmstorage                                                                                         
      ├─vmstorage-vm--105--disk--0                                                                                 
      ├─vmstorage-vm--106--disk--0 ext4        1.0            16467376-f267-4681-bf36-ae033cbf7639                 
      └─vmstorage-vm--103--disk--0 ext4        1.0            c9b5084e-3981-4bdd-8068-10db35949b30

I very much appreciate the assistance :)
 
Thanks for the additional information.

From what I can see in the output, the system appears to be using shim + GRUB rather than systemd-boot.

However, since this is boot-related, I cannot guarantee the result of removing the package. Please make sure you have a good backup/recovery plan before making any changes. If you have a Proxmox subscription, confirming with Proxmox support would be the safest option.