On Mon, Mar 03, 2025 at 04:42:07PM +0800, Zhang, Wentao via Grub-devel wrote: > Hi GRUB-devel team > > I encountered an issue with a 210MB initramfs where GRUB prints the following > error: > error: couldn't find suitable memory target. > > Below are parts of my memory layout: > ...... > mmap/efi/mmap.c:63: EFI memory region 0xdf6e000-0x17238000: 7 > mmap/efi/mmap.c:63: EFI memory region 0x17238000-0x23524000: 1 > ...... > mmap/efi/mmap.c:63: EFI memory region 0x5de69000-0x6f800000: 7 > ...... > Here are the memory size: > 0xdf6e000-0x17238000: 146.79 MB > 0x17238000-0x23524000: 194.92 MB > 0x5de69000-0x6f800000: 281.59 MB > > Is it possible to merge the first two memory regions, and if so, how can this > be achieved? > Alternatively, how can I expand the memory region? My grub version is 2.06-1. > There is sufficient memory in the region 0x5de69000-0x6f800000, but the > GRUB_LINUX_INITRD_MAX_ADDRESS is set to 0x37FFFFFF. I changed the max address > to > 0x7FFFFFFF and successfully booted the system using the memory in 0x5de69000- > 0x6f800000. > > Are there any risks associated with this modification on an 64-bit machine?
Please use GRUB 2.12. It has many improvements in memory management and should work in your case. Daniel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel