[systemd-devel] systemctl kexec failed with error if /boot/efi on the mdraid

Adrian Vovk adrianvovk at gmail.com
Sun Feb 16 02:21:48 UTC 2025


Hello,

UEFI doesn't support RAID for the ESP, and neither does systemd. So it's
not unexpected that systemd is unable to find your ESP: your ESP isn't a
valid ESP.

You may be able to work around your issue by setting an env var:
SYSTEMD_RELAX_ESP_CHECKS=1

See also:
https://github.com/systemd/systemd/issues/12468#issuecomment-698782077

Best,
Adrian

On Sat, Feb 15, 2025 at 9:05 PM Hennadii Makhomed <gmm at csdoc.com> wrote:

> Hello, All!
>
> # rpm -qf /usr/bin/systemctl
> systemd-252-46.el9_5.2.0.1.x86_64
>
> systemctl kexec failed with error if /boot/efi on the mdraid
>
> this bug already fixed is some new version of systemd?
>
> does any workarounds exists? or no workarounds and bug not fixed?
>
> is need to report this bug on github to fix it in some new systemd
> versions?
>
> # systemctl kexec
> No kexec kernel loaded and autodetection failed.
> Cannot automatically load kernel: ESP mount point not found.
>
>
> # kdumpctl status
> kdump: Kdump is operational
>
> and /boot/efi mounted
>
> # mount | grep /boot/efi
> /dev/md125 on /boot/efi type vfat
>
> (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro)
>
>
> crashkernel loaded:
>
> # kdumpctl estimate
> Reserved crashkernel:    512M
> Recommended crashkernel: 512M
>
> Kernel image size:   54M
> Kernel modules size: 15M
> Initramfs size:      35M
> Runtime reservation: 64M
> Large modules:
>      xfs: 2584576
>      cfg80211: 1335296
>      kvm: 1400832
>      zfs: 4595712
>
>
> # cat /proc/cmdline
> BOOT_IMAGE=(md/boot)/vmlinuz-5.14.0-503.23.2.el9_5.x86_64
> root=/dev/mapper/rocky-root ro resume=/dev/mapper/rocky-swap
> rd.md.uuid=60771b90:1742227d:f6c85a8b:d5c84152 rd.lvm.lv=rocky/root
> rd.md.uuid=423048ec:df7f1cde:4ddfe590:e2b95cc8 rd.lvm.lv=rocky/swap
> selinux=0 crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M skew_tick=1
> tsc=reliable rcupdate.rcu_normal_after_boot=1
>
>
>
> # sudo lsblk -f | grep -i efi
> ├─nvme0n1p1      linux_raid_member 1.0      boot-efi
> ccbfd2e3-3312-1028-b59c-ee6a2246a6e6
> │ └─md125        vfat              FAT16    boot-efi F006-0F05
>                       56.8M    11% /boot/efi
> ├─nvme1n1p1      linux_raid_member 1.0      boot-efi
> ccbfd2e3-3312-1028-b59c-ee6a2246a6e6
> │ └─md125        vfat              FAT16    boot-efi F006-0F05
>                       56.8M    11% /boot/efi
>
>
> --
> Best regards,
>   Gena
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20250215/605da713/attachment.htm>


More information about the systemd-devel mailing list