[ipxe-devel] initrd alignment
Michael Brown
mcb30 at ipxe.org
Wed May 29 13:02:03 UTC 2013
On 28/05/13 19:23, Dave Hansen wrote:
> Should ipxe be page-aligning the initrd? Nothing _bad_ happens (the
> kernel just rounds the start up to the next page).
>
> I don't see any reference to the boot spec's 'kernel_alignment' in the
> ipxe source anywhere (other than the definition). Should it be
> respecting that for the initrd?
doc/x86/boot.txt talks about kernel_alignment in terms of the alignment
required by a relocatable kernel; there's nothing which (to me) suggests
that it applies to initrd images.
If you change INITRD_ALIGN (in arch/i386/include/initrd.h) from 4 to
4096, does that fix the problem?
Michael
More information about the ipxe-devel
mailing list