Bug 15952 - Grub fails to load large rootfs files
Summary: Grub fails to load large rootfs files
Status: RESOLVED INVALID
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2023.11.1
Hardware: PC Linux
: P5 critical
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-20 11:33 UTC by Dr I J Ormshaw
Modified: 2024-02-20 16:27 UTC (History)
2 users (show)

See Also:
Host: x86_64
Target: x86_64
Build:


Attachments
Patch file (813 bytes, patch)
2024-02-20 11:33 UTC, Dr I J Ormshaw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dr I J Ormshaw 2024-02-20 11:33:44 UTC
Created attachment 9715 [details]
Patch file

In some systems grub fails to load the rootfs.cpio as an initrd if it is too large.

On the system I am currently testing a 61MB file load successfully while a 174MB file does not.  With the larger file grub outputs an out of memory error.  The attached patch file allows the system to boot successfully.
Comment 1 Yann E. MORIN 2024-02-20 16:27:14 UTC
Dr I J Ormshaw, All,

This is a grub limitation, so please work with grub upstream to lift that
limitation. Once they have accepted a fix, then we can see whether we can
backport it or not.

Regards,
Yann E. MORIN.