systemd-boot: missing MBR partition table support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
New
|
Undecided
|
Heinrich Schuchardt |
Bug Description
I have an arm64 system running Ubuntu Jammy with the MBR partitioned drive having the following partitions:
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 215040 125042654 124827615 59.5G 83 Linux
/dev/mmcblk0p2 206848 215039 8192 4M 83 Linux
/dev/mmcblk0p4 2048 206847 204800 100M ef EFI (FAT-12/16/32)
/dev/mmcblk0p4 is mounted as /boot/efi.
Though the ESP is identifiable via the partition type I get:
# bootctl install
Couldn't find EFI system partition. It is recommended to mount it to /boot or /efi.
Alternatively, use --esp-path= to specify path to mount point.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: systemd 249.11-0ubuntu3.10
ProcVersionSign
Uname: Linux 5.15.0-83-generic aarch64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: arm64
CasperMD5CheckR
CloudArchitecture: aarch64
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSubPlatform: seed-dir (/var/lib/
Date: Sun Sep 10 08:04:02 2023
Lspci:
Lspci-vt: -[0000:00]-
Lsusb:
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=
MachineType: Unknown Unknown Product
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: systemd
SystemdFailedUnits:
Error: command ['systemctl', 'status', '--full', '●'] failed with exit code 4: Invalid unit name "●" escaped as "\xe2\x97\x8f" (maybe you should use systemd-escape?).
Unit \xe2\x97\
UpgradeStatus: No upgrade log present (probably fresh install)
acpidump:
dmi.bios.date: 10/01/2023
dmi.bios.release: 23.10
dmi.bios.vendor: U-Boot
dmi.bios.version: 2023.10-
dmi.board.name: Unknown Product
dmi.board.vendor: Unknown
dmi.chassis.type: 3
dmi.chassis.vendor: Unknown
dmi.modalias: dmi:bvnU-
dmi.product.name: Unknown Product
dmi.sys.vendor: Unknown
Changed in systemd (Ubuntu): | |
assignee: | nobody → Heinrich Schuchardt (xypron) |
summary: |
- systemd-boot does not find ESP on MBR partitioned drive + systemd-boot: missing MBR partition table support |
The missing support for MBR partition table continues with
# bootctl install --esp-path= /boot/efi
File system "/dev/block/179:4" is not on a GPT partition table.
A GPT partition table cannot be used easily on a Pine A64 LTS board as it collides with the location of U-Boot.