Re: Booting vmlinux with GRUB on x86

From: Andi Kleen
Date: Sun May 07 2006 - 05:33:24 EST


"C K Kashyap" <ckkashyap@xxxxxxxxx> writes:

> Looks like kernel 2.6 generates a kernel that can be loaded by GRUB by
> just adding the multiboot signature...However, it does'nt quite work!
> ... Has anyone tried it? Just want to do away with the overhead of
> bzImage etc!!

bzImage has some real mode code that gets information from the BIOS
and passes it to the vmlinux (see Documentation/i386/zero-page.txt)
grub would need to pass this information first before it could execute
vmlinux directly.

There are also some more complications on x86-64: vmlinux currently
assumes it starts in 32bit protected mode, not 64bit.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/