[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can the grub2.02 improve the limit of initrd size in 64-bit system?
From: |
Vladimir 'phcoder' Serbinenko |
Subject: |
Re: Can the grub2.02 improve the limit of initrd size in 64-bit system? |
Date: |
Wed, 31 Jul 2019 22:18:11 +0200 |
> So 32 bit arm requires kernel + initrd less than 512MB, 64 bit
> arm requires kernel + inirrd less than 32GB. If I read the code
> correctly, booting x86 in efi mode the max initrd file allocation is 1GB
> (0x3fffffff). Seems the code is shared for 32 and 64 bit EFI and doesn't
> allow anything more on 64 bit than 32 bit. Of course no normal system
> would ever need more so no point implementing it.
>
> A 1GB ramdisk would be plenty to start a system that could then load more
> ramdisks if it really wanted to. Could any sensible use case exist for
> loading an initrd that large?
I agree. I don't think that implementing support of > 1GiB ramdisk
makes sense unless we have a usecase in mind.
Original reporter: can you please ellaborate why you need such a large
ramdisk and why you can't let kernel mount additional images?