How do you recompile your kernel in Mandrake 9.0?


Recommended Posts

Hi,

I recently started running Mandrake 9.0 and I don't know how to recompile the kernel. After you finish laughing at the newbie, could somebody please give me instructions on how to do this ?

TIA

Link to comment
Share on other sites

Why do you want to upgrade? Mandrake 9 has a new kernel. Are you going to upgrade to 2.5.x? All 2.5.x kenels are development releases and are not stable.

Anyway you need to download the source package for their webpage. The tar ball has a README with some instruction on compiling the kernel.

Check out The Linux Kernel HOWTO for more info on this topic.

Link to comment
Share on other sites

Thanks

I'm not looking to "upgrade". When I installed Mandrake, I somehow got a kernel that is newer than the header files for it, and I can't install VMware for Linux because of that :cry:

I asked around, and was told that I need to recompile the kernel :wacko:

Link to comment
Share on other sites

Newest kernel is 2.4.20 not 2.4.19

You can download the new kernels always at http://www.kernel.org

Most likely you can just patch yours as it is only one version difference.

You can find more on compiling a kernel at http://www.linux.org/docs/ldp/howto/Kernel-HOWTO.html

What I would do is that once you typed in 'make xconfig' that you load your previous settings from the kernel source used by Mandrake's installation. (should be located at /usr/src/linux-2.4.19/configs, I believe)

Then just change the things you want to change.

I still recommend just downloading the patch though :)

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.