Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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.
Note that this is not compile kernel ON laptop. I have a 2GHz desktop and a 450MHz laptop. Both run Slackware-current. I have been compiling kernels on/for the desktop for a good while & have a very nice configuration for my hardware. On the laptop i have been using the 2.6 series kernels provided by Slackware. These have worked very well & have allowed me to keep this old laptop going. However, a while ago I tried to compile a kernel on the laptop & it worked, but I slept twice before it finished! I don't want to go through that again! Recently I d/led linux-22.214.171.124 to my desktop, untarred it, copied in the config file from the laptop & ran 'make oldconfig', selecting the default configuration for new kernel options. Then I ran 'make menuconfig', selecting ext3 filesystem in the kernel so I wouldn't need an initrd. I then ran 'make' & 'make modules_install' & finally copied all components to the laptop. The laptop seems to work quite well with this kernel, but I am thinking of slimming it down. I don't need a large number of the modules that went along with that kernel. My question (FINALLY!) is: Am I running any risk, using a kernel on the hardware that it was not compiled on? I don't see any difference in doing this & using one of Pat's compiled kernels, but then there are a lot of things I don't see....
Am I running any risk, using a kernel on the hardware that it was not compiled on? I don't see any difference in doing this & using one of Pat's compiled kernels, but then there are a lot of things I don't see....
That's pretty much what everyone with a binary distro does. And that is what you are doing really: you are creating a custom binary distro for your laptop. Enjoy.
The main thing I can foresee is having the kernel compiled with a different version of gcc to the one you compile future drivers with. Make sure the gcc on the laptop is the same as the gcc wot compiled the kernel and you should avoid this.
Last edited by Simon Bridge; 04-23-2006 at 10:10 PM.