Re: Kernel Compilation Basics

Robert Love (rml@tech9.net)
23 Nov 2001 17:11:21 -0500


On Fri, 2001-11-23 at 16:57, Paulo J. Matos aka PDestroy wrote:
> I'm trying to compile 2.4.15.
> I've read Kernel Howto and I've done the quick compilation steps:
> make xconfig
> make dep
> make clean
> make bzImage
> cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.15
> make modules
> make modules_install
>
> What about now?
> How do I create system map and modules info?
> What are they for?
> I feel that kernel howto is not explicit with this questions.
> Is there any place where can I get insight about these questions?

You already have a System.map, it is in the root of your linux source
directory. Thus, as you copied vmlinuz over, do the same for
System.map:

cp System.map /boot/System.map-2.4.15

modules-info is something specific to RedHat which you do not need.
`make modules_install' is all that is required. Now, edit your
bootloader (lilo, grub, etc) and reboot. Enjoy.

Robert Love

-
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/