[Bug 2130774] Re: chainloader fails due to peimage.

Mate Kukri 2130774 at bugs.launchpad.net
Thu Nov 6 11:00:11 UTC 2025


It is normal in the sense that GRUB always had this weirdness, but it
was never a problem for Debian or Ubuntu due to how the config works.

It would be nicer if this wasn't an issue but deriving the device path
from explicitly set root is easier, because GRUB can load EFI images
from a lot of targets that are not visible to the firmware (e.g. LVM,
LUKS and so on)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/2130774

Title:
  chainloader fails due to peimage.

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  The command chainloader /efi/Microsoft/Boot/bootmgfw.efi fails due to the PE image.
  The error log says: “error: malformed EFI Device Path node has length=0.”

  A script that can reproduce this issue with QEMU is available at:
  https://github.com/jclab-joseph/grub2-peimage-issue

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2130774/+subscriptions




More information about the foundations-bugs mailing list