Bug#1081288: systemd-boot: bootctl incorrectly believes that GPT is required for EFI boot

Russell Coker russell at coker.com.au
Tue Sep 10 13:43:17 BST 2024


Package: systemd-boot
Version: 256.5-2
Severity: normal

This system booted from EFI:

# ls -l /sys/firmware/efi/
total 0
-r--r--r--. 1 root root 4096 Sep 10 22:40 config_table
drwxr-xr-x. 2 root root    0 Sep 10 22:11 efivars
drwxr-xr-x. 3 root root    0 Sep 10 22:40 esrt
-r--r--r--. 1 root root 4096 Sep 10 22:21 fw_platform_size
-r--r--r--. 1 root root 4096 Sep 10 22:40 fw_vendor
-r--r--r--. 1 root root 4096 Sep 10 22:40 runtime
drwxr-xr-x. 8 root root    0 Sep 10 22:40 runtime-map
-r--------. 1 root root 4096 Sep 10 22:40 systab

bootctl claims that it can't boot EFI because it uses MBR:

# bootctl list --esp-path=/boot/efi
File system "/dev/nvme0n1p1" is not on a GPT partition table.

Windows apparently requries GPT to boot with UEFI but Linux doesn't.

-- System Information:
Debian Release: trixie/sid
Architecture: amd64 (x86_64)

Kernel: Linux 6.10.9-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages systemd-boot depends on:
ii  libc6              2.40-2
ii  libsystemd-shared  256.5-2
ii  systemd-boot-efi   256.5-2

Versions of packages systemd-boot recommends:
ii  efibootmgr  18-2

Versions of packages systemd-boot suggests:
ii  systemd-ukify  256.5-2

-- debconf-show failed



More information about the Pkg-systemd-maintainers mailing list