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.
I download the source files for the kernel 2.4.20 from slackware ftp site.
I used pkgtool for installing the sources.
And I have done this.
make menuconfig
make dep;make clean;make bzImage
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz.test
I add the new kernel in /etc/lilo.conf with label test
lilo [enter] without error
depmod -a [enter] without error
rm -rf /lib/modules/2.4.20
make modules modules_install
If a choose test or linux at startup, when the kernel try module depencies, a recived failes to initialize modules...... my xfree86, mouse, sound, etc.... doesn't work anymore.
make install doesn't overwrite your current kernel. Even if the versions match it'll rename your old one to *.old
This is true, but you still want to have a backup kernel and Sysmap named something like *.good or *.dontmesswiththisifyouvalueyoursystem. If you don't and have two bad compiles in a row, you no longer have a good kernel. Believe me, I learned this one the hard way.
I am going crazy, I downloaded the new and improved slackware 9 ISO file burned it on to CD and installed it, but when I go to add drivers to my wireless LAN it says that it can't find the linux install directory, so I think ok I will first build a custom kernel and then add the drivers, but once again defeated, when I try to move to the /usr/src/linux directory it says that the directory is an invalid directory, and of course the make mrproper doesn't run from out side that directory. I know that the OS has a kernel because it runs but can someone help me find this directory. I know that the /usr/src/linux is normally a link but to where.
And how do you create a link.
I am a newbie so any help that could be given to this stupid and blind newbie that has obviously done something wrong would be great. I even download a different slackware9 iso and installed that hopping that would give the dir but no luck.
The ISO you downloaded does not include the kernel source for space reasons. You have to "installpkg kernel source2.4.20.tgz" in order for you to compile anything.Download the kernel source from k directory in the ftp site where you dl the ISO .
Please read ALL the readme files that are included in the ISO and also the ftp site directory for slackware. You will find instructions there on what to do in case of problems.
I had a problem booting the CD in burned using the ISO and the solution is there in one of the readmes in the ftp site.
IF you are using Slack 9 why do you need to compile a 2.4.20 kernel? It is already using the kernel. I think what you wanted is to install the kernel source which can be done simply by "installpkg kernel-source-2.4.20-noarch.tgz".
thanks for your help. I just needed the kernel source /usr/src/linux and all the files for a install that i am trying to do for my wlan card. I will try your suggestion. This is a great site thanks for all the good advice.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.