[systemd-devel] EFI loader partition unknown

Lennart Poettering mzerqung at 0pointer.de
Mon May 6 14:14:40 UTC 2019


On So, 05.05.19 17:02, Chris Murphy (lists at colorremedies.com) wrote:

> > > blkid reports:
> > > /dev/vda1: SEC_TYPE="msdos" UUID="927C-932C" TYPE="vfat"
> > > PARTLABEL="EFI System Partition"
> > > PARTUUID="0e3a48c0-3f1b-4ca7-99f4-32fd1d831cdc"
> > >
> > > gdisk reports:
> > > Partition number (1-3): 1
> > > Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System)
> > > Partition unique GUID: 0E3A48C0-3F1B-4CA7-99F4-32FD1D831CDC
> > > First sector: 2048 (at 1024.0 KiB)
> > > Last sector: 411647 (at 201.0 MiB)
> > > Partition size: 409600 sectors (200.0 MiB)
> > > Attribute flags: 0000000000000000
> > > Partition name: 'EFI System Partition'
> > >
> >
> > What does '/usr/lib/systemd/systemd-dissect /dev/vda' say?
>
>
> [chris at localhost ~]$ sudo /usr/lib/systemd/systemd-dissect /dev/vda
> Found writable 'root' partition (UUID
> 87d5a92987174be9ad216482074d1409) of type xfs without verity on
> partition #2 (/dev/vda2)
> Found writable 'esp' partition (UUID b5aa8c29b4ab4021b2b22326860bda97)
> of type vfat on partition #1 (/dev/vda1)
> Failed to acquire image metadata: Protocol error

There's something in your partition table that throws the dissector
off. Next step would be to debug this with gdb, i.e. run:

sudo SYSTEMD_LOG_LEVEL=debug gdb ---args /usr/lib/systemd/systemd-dissect /dev/vda

after installing debug symbols, then step through this, and figure out
where this issue happens.

Or in other words: this is a bug, and needs to be tracked down like a
bug hence...


Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list