This is the exact header format GRUB scans for in the first 8192 bytes of a kernel image, and it's why hobby kernels (including nearly every OSDev-wiki 'Bare Bones' tutorial kernel) can boot under real GRUB without writing any disk-reading code at all. A wrong checksum here — magic + flags + checksum must sum to zero — is the single most common reason a Multiboot kernel refuses to boot under GRUB.