SlackwareThis Forum is for the discussion of Slackware Linux.
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.
how can i get a "clean" config without having the redundant modules for a certain hardware, and yet it is truely reflect to my real hardwares?
does the kernel perform slower if it has plenty of redundant modules with it?
There is no way I know of that you can autodetect your hardware and generate a .config file based upon what was autodetected. That would really be nice if it were possible.
So you have two choices:
Stick with the kernels supplied by the distros. And only upgrade when they decide to upgrade.
Learn to build your own kernel.
And part of learning to build a kernel is knowing your hardware. If you don't want to make all those extra sound modules and you are sure you don't need them you can de-select them. Building them will not in any way affect your kernels performance. If you don't need the modules they will not be loaded by the kernel. They just take up a little hard drive space and a little processing time to build them.
As for your keyboard and mouse, that sounds like a XFree86 config problem. Login as root and do this:
XFree86 -configure
That will create a config file /root/XFree86Config.new and you can test it by doing this:
XFree86 -xf86config /root/XFree86Config.new
If it works then copy the file to /etc/X11/XFree86Config-4
Otherwise you will need to manually configure XFree86 using xf86config.
The kernel should be a continuous file. Most likely on any Linux filesystem it will be, however there are no guarantees, unless you use either cat or dd to copy it. I read that a long time ago (I forget where) and I have always used cat to copy my kernels ever since.
"make install" will do the rest of the housekeeping, isnt it? so, why bother to "cat arch/i386/boot/bzImage >/boot/vmlinuz-2.4.23"?? am i right?? or, i might be wrong...moreover, DaOne never mentioned bzImage copying in his steps...so, i believe "make install" will do the rest of the housekeeping, including lilo.conf editing....
Originally posted by yenonn "make install" will do the rest of the housekeeping, isnt it? so, why bother to "cat arch/i386/boot/bzImage >/boot/vmlinuz-2.4.23"?? am i right?? or, i might be wrong...moreover, DaOne never mentioned bzImage copying in his steps...so, i believe "make install" will do the rest of the housekeeping, including lilo.conf editing....
make install will copy and rename the image to /boot/vmlinuz. It also renames the old vmlinuz to vmlinuz.old. It does NOT edit lilo.conf for you...you have to do this before running make install...however it WILL run lilo to properly update Lilo.
Also, you need to edit the Makefile to make sure your new kernel is copied to the appropriate directory.
If you are using 8.1 or later, open /usr/src/linux/Makefile in a text editor, scroll to line 74 and
uncomment the the line #export INSTALL_PATH=/boot.
For 8.0 you must leave this line commented.
So yes...if lilo.conf and Makefile are properly prepared, make install automates the copying, moving, and updating lilo.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.