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.
Whenever I rebuild my kernel, I always lose some functionality. Either my sound card is gone, or my NIC is no longer recognized or some other function or device is changed. Strangely the behavior is not related to the changes I made in the kernel. For instance, if I enable support for NTFS filesystem, I lose my NIC. What I assume is happening is that when I first run "make xconfig", it is building a default kernel setup. Then when I save and build the kernel, the default settings are applied. Is there a way to have the current setup displayed when I rebuild the kernel? I really don't want to go through every menu item when I only need to change a few items. The only "pre" make command I know of is mrproper and this doesn't seem to help.
Using mrproper will remove your current config and any temp files. Just doing a make xconfig or make menuconfig will display you current configuration, hence you will just be able to change the little bits you need to. What steps are you using to build the kernel?
make xconfig
make dep
make clean
make bzImage
make modules
make modules_install
copy new kernel to /boot
edit lilo.conf and run lilo and lilo-q
I've never had any problems building, compiling, or installing the kernel. It just seems that the first time I do this, areas of the kernel that I don't touch during the make xconfig phase get changed and I end up going back thru the kernel config line by line by line...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.