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.
Hi, I've just compiled my new kernel. I had the kernel sources installed so I did this:
# cd /usr/src/linux*
# make mrproper
# make xconfig
from there on i configured the kernel and the things/features i needed support for, after that i ran:
# make bzImage
# make modules
# make modules_install
# make install
I did all that and the kernel compiled successfully, i rebooted and i had the custom kernel added to lilo and i booted into it with no problems, even the bootsplash was still working. The kernel never complained about anything! If i do a uname -a this is what i get:
[mike@linux mike]$ uname -a
Linux linux 2.6.3-4mdkcustom #1 Tue Mar 9 00:40:32 GMT 2004 i686 unknown unknown GNU/Linux
Was I right with the way I went about compiling? Like with the steps i did?
Yes, that's why it worked.
I don't think you needed to run /sbin/lilo, I think "make install" does that. You could also look into kernel versioning if you run several kernels with different things installed as modules, and you could consider building with gcc-2.95 if it's not your default compiler. You could also do the "make install" step by hand so that you have more control over the process.
Kernel compiling is pretty easy once you have all of the correct options selected. However, that's pretty impressive that you managed to get all of the right options first time. It took me about five goes I think.
Yes, I think so. You would need to be root to do the install stuff, and certainly on my system, /lib/modules/version is linked to the source directory, so it's not the ideal place what with permissions and all, but yes it would work.
I had mine running right the very first time, ran it for three or four weeks it was booting so quick it wasn't funny, then i had to stuff around with it, could leave it alone and it crashed. I tried twice since then with no luck, when I get some more time i'll give it another go