Re: Can the grub2.02 improve the limit of initrd size in 64-bit system?

2019-07-31 Thread Lennart Sorensen
On Tue, Jul 30, 2019 at 10:50:23AM +0800, 电子科技大学-张旭霞 wrote: > Hi All, > > environment : X86-64 , kernel 3.16.0(64-bit support),grub2.02 > > I compile the grub2.02 by default. And the grub boots the linux kernel with > 32-bit boot protocol.(Documents/X86/boot.txt) > > I want to use the initrd as

Re: Can the grub2.02 improve the limit of initrd size in 64-bit system?

2019-07-31 Thread Vladimir 'phcoder' Serbinenko
> 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 > (0x3fff). Seems the code is shared for 32 and 64 bit EFI and doesn't > allow anything

Re: Can the grub2.02 improve the limit of initrd size in 64-bit system? (Lennart Sorensen)

2019-07-31 Thread Zhang
Yes,I want to an initrd as big as possible on the service where ram size is large. I am sorry that I have a mistake.The right is as follows: x86_64: It seems good for initrd size between 0x37fe-0x7fff(2GB).But the grub seems it is against that. 1、BIOS in legacy mode : I can load a 1