Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well, suppose you have a customized kernel... everything is workig perfectly. Now you want to add some modules on it. You could do a "make menuconfig" (I guess all the settings you have chosen will be there) and just add those new modules... do a make modules and make mdules_install, am I right?
My problem is... I did not save a .config. If I have to do this (in this case, add the gamecon and joydev modules... and enable parallel port support), I need to reconfigure my kernel from scratch???
I'm a newbie and I would like to solve it with the easiest solution (if there is one!)
I think what you are saying is you now need modules that were not originally compiled ?
Unless you have deliberately deleted the .config file it should be there
In my case it's in /usr/src/linux-2.4.22, don't forget that the "." makes the file hidden so if you are using the command line to view the contents of the directory use ls -a
Yes Pete M, you are right.... Somehow, when I have downloaded another kernel source, I removed the correct .config.
I tough that, maybe, a easier solution would be go direct to the module source and compile it. But have no idea how to do it. And I also have to enabl the parallel port. I guess I have no other choice but modify my kernel again from scratch... "sic"
If I where you I would leave your running Kernel as is and download a new source to work on
If you want to end up with the same kernel release, what I mean by that is say you have 2.4.22 currently working and you download and compile another 2.4.22, if you open the Makefile in a text editor such as vi right at the top there is an option "EXTRAVERSION =" add there something like "EXTRAVERSION = romasport" your new kernel when compiled will become "2.4.22 romasport" this way you won't get confused which is which and you will still have a working kernel to fall back on
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.