Re: [PATCH] Making vmlinux Multiboot compliant and grub capable of loading modules at boot time. (1 Part)

From: Richard Todd (richardt@vzavenue.net)
Date: Sun Dec 09 2001 - 20:51:14 EST


On Sat, Dec 08, 2001 at 02:59:18PM +0100, Christian Koenig wrote:
> The patch is for 2.4.14 Kernel Source, but it should patch well on other
> Versions (at least the module loader).

It patched 2.5.1-pre8 cleanly, except for a makefile. I'm running
2.5.1-pre8 with this patch right now.

> I know that vmlinux isn't compressed and contains unused elf-sections.

Just 'gzip -9 vmlinux' Grub will uncompress it for you.
This actually makes for a smaller file than bzImage (on
my machine, anyway).

Are the unused sections taking up space at runtime?

> Tell me what you thing about it.
It's a cool hack! I like grub's module loading mechanism
better than the initrd solution.

Unfortunately, grub doesn't run on all supported platforms.
And the multiboot specification isn't an accepted standard.
(grub docs just read like it is.....)

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



This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:15 EST