[Bug 2083150] Re: loader/efi/peimage.c:829:peimage: cannot load multiple images
Mate Kukri
2083150 at bugs.launchpad.net
Sun Sep 29 17:35:06 UTC 2024
The problem is grub_error just doesn't work, because grub_errors dont
stack, so the messages from chainloader.c and linux.c would simply hide
the peimages ones completely instead of the desire to always show them
Perhaps it could be grub_printf instead
--
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/2083150
Title:
loader/efi/peimage.c:829:peimage: cannot load multiple images
Status in grub2 package in Ubuntu:
New
Bug description:
Version: 2.12-5ubuntu5
I am using /usr/lib/grub/riscv64-efi/monolithic/grubriscv64.efi from
the Oracular release.
When executing `linux, initrd, device-tree, boot` I saw an error
"error: cannot load image."
in the GRUB console.
I enabled debug=all and then it showed more:
loader/efi/peimage.c:829:peimage: cannot load multiple images
error: cannot load image.
Please, do not expect a normal user to know about the debug variable.
The message in /efi/peimage.c should be displayed without
debug=peimage. Please, reconsider debian/patches/peimage-fixup-
grub_error-grub_dprintf.patch. In most of the cases we should keep
grub_error.
I do not understand why we error out if the linux command is executed
multiple times. I would expect only the last binary to be loaded and
executed.
Best regards
Heinrich
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2083150/+subscriptions
More information about the foundations-bugs
mailing list