MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
First, I must say that I am not new to compiling my own kernel. However, trying to compile a kernel on Mandrake 10 has left me feeling like a complete n00b.
Here are the steps I followed:
1. Installed the source for the current kernel with "urpmi kernel-source"
2. cd /usr/src/linux
3. make menuconfig
4. selected preemptible kernel to be built into the kernel
5. exited and saved the new config
7. make modules modules_install
8. make install
10. reboot, selecting the new custom kernel.
However, upon reboot, the system seems to think that half my hardware has been removed (mouse, cd-drive, etc) and most of the modules throw out errors as they are loaded.
What step(s) have I missed that is specific to compiling a kernel with Mandrake? I'm assuming that the .config that comes with the kernel-source package is the same one that was used to compile the kernel that is provided by the kernel package, so I doubt it is an issue with the actual kernel configuration.
Any help is greatly appreciated. Thanks in advance.
heema - With a 2.6 kernel, you "shouldn't" have to do a "make bzImage" anymore. However, I will give it a go later tonight when I try again. Also, a quick "make mrproper" before I start also might not be a bad idea.
Ph0enix2003 - I don't think that is the problem. The .config was provided with the rpm of the kernel source, and should be the same .config that was used to compile the kernel that I am actually running. All I simply did was add preemtible kernel, everything else was left as per the .config provided with the rpm.
Thanks for the suggestions so far, much appreciated.