Public bug reported:

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

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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."
+     "error: cannot load image."
  
- In the GRUB console.
+ 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.
  
  Pleae, 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

** Description changed:

  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.
  
- Pleae, 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, 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

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

Title:
  loader/efi/peimage.c:829:peimage: cannot load multiple images

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to