Bug#1051304: error: out of memory
Julian Andres Klode
julian.klode at canonical.com
Wed Sep 6 09:17:25 BST 2023
On Tue, Sep 05, 2023 at 09:10:06PM -0400, Daniel Richard G. wrote:
> Package: grub-efi-amd64
> Version: 2.06-13
> Severity: important
>
> I have encountered a situation where grub-efi-amd64 reports
>
> error: out of memory
>
> in the pre-boot environment despite the system having an adequate amount
> of RAM (8 GB). This occurs when attempting to load an ISO9660 image file
> via loopback, e.g.
You have at most 4 GB of usable memory, high memory is not used here,
and hardware can fail to DMA if you try to use it, it's all very hard.
>
> loopback loop /path/to/debian-live-11.2.0-amd64-standard.iso
>
> (note that this ISO file is ~1 GB in size)
>
> This issue is easily reproducible in VirtualBox with an EFI-based VM. I
> do notice that a somewhat smaller ISO (systemrescue-10.01-amd64.iso,
> ~740 MB) is able to be loaded via loopback and booted. Also, this issue
> does NOT occur on grub-pc with an equally-spec'ed BIOS-based VM; that
> one can boot the same ISO file just fine.
>
> This issue appears to match the following one from the Ubuntu side:
>
> https://bugs.launchpad.net/bugs/1842320
>
> That one revolved more around loading larger initrd files, which
> prevented some users' installed systems from booting. The issue was
> resolved earlier this year, so assuming it is the same as this one, a
> fix should be readily available.
Yes, so please just try the 2.12~rc1-9 in unstable and see if it
fixes your issue.
--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer i speak de, en
More information about the Pkg-grub-devel
mailing list