sbctl: `sbctl verify` returns `failed to find EFI system partition` even though it's there
Hi,
sbctl verify returns failed to find EFI system partition even though it’s there. Unmounting then mounting makes it work. There were no glaring issues with /efi (could read, write, no problem).
# cat /etc/fstab
UUID=F2D4-5BC4 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro 0 2
UUID=F2D4-5BC4 /efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro 0 2
Quick console session:
Console session
% findmnt /boot
TARGET SOURCE FSTYPE OPTIONS
/boot /dev/nvme0n1p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
% findmnt /efi
TARGET SOURCE FSTYPE OPTIONS
/efi /dev/nvme0n1p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
# sbctl verify
failed to find EFI system partition
% tree /efi
/efi
├── EFI
│ ├── Boot
│ │ └── BOOTX64.EFI
│ ├── Linux
│ │ ├── archlinux-linux-clear-fallback.efi
│ │ ├── archlinux-linux-clear.efi
│ │ ├── archlinux-linux-lts-fallback.efi
│ │ └── archlinux-linux-lts.efi
│ ├── memtest86
│ │ ├── Benchmark
│ │ ├── MemTest86-20221014-153419.log
│ │ ├── MemTest86-20230105-174348.log
│ │ ├── MemTest86.log
│ │ ├── blacklist.cfg
│ │ ├── memtestx64.efi
│ │ ├── mt86.png
│ │ └── unifont.bin
│ └── systemd
│ └── systemd-bootx64.efi
├── amd-ucode.img
├── f7522b4f7bc64ecb9c928c6a3f7e481e
├── initramfs-linux-clear-fallback.img
├── initramfs-linux-clear.img
├── initramfs-linux-lts-fallback.img
├── initramfs-linux-lts.img
├── key
├── loader
│ ├── entries
│ │ ├── memtest86-efi.conf
│ │ ├── toxo-clear-efi.conf.disabled
│ │ ├── toxo-clear.conf
│ │ ├── toxo-lts.conf
│ │ └── toxo-lts.conf_20221014T151752Z
│ ├── entries.srel
│ ├── loader.conf
│ └── random-seed
├── vmlinuz-linux-clear
└── vmlinuz-linux-lts
remount and rerun
# umount /efi
# mount /efi # doesn't work with mount -o remount /efi
# sbctl verify
Verifying file database and EFI images in /efi...
✓ /boot/EFI/Linux/archlinux-linux-clear.efi is signed
✓ /boot/EFI/Linux/archlinux-linux-lts.efi is signed
✗ /efi/EFI/Boot/BOOTX64.EFI is not signed
✗ /efi/EFI/Linux/archlinux-linux-clear-fallback.efi is not signed
✗ /efi/EFI/Linux/archlinux-linux-lts-fallback.efi is not signed
✗ /efi/EFI/memtest86/memtestx64.efi is not signed
✗ /efi/EFI/systemd/systemd-bootx64.efi is not signed
✗ /efi/vmlinuz-linux-clear is not signed
✗ /efi/vmlinuz-linux-lts is not signed
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 17 (9 by maintainers)
Yes, so also check if it’s present in
MOUNTPOINTSthen. That should be nice solution.