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.
i have just installed slackware 8 and i have been trying to install modules for everything..i have tried to insmod but i receive error messages saying that my kernel is 2.4.5-10 and i only have modules that support 2.4.5 how can i rectify this problem? I have had a look in /lib/modules and i only have a 2.2 and 2.4.5 directory.
Where did you get the kernel that you are compiling? I noticed that you use red hat but are trying to reconfigure a Slack kernel? Slack doesn't come with a 2.4.5-10 kernel. If you installed the kernel source AND modules upon install then there should only be the 2.2.19 and 2.4.5 directories in /lib/modules, likewise /usr/src. Are you recompiling from /usr/src/linux-2.4.5 or /usr/src/linux or another dir altogether? Advice is to download the newest 2.4.18 kernel source and compile it...
Im not trying to install a kernel ..my /lib/modules has only the 2.2-18 and the 2.4.5 directories. i was trying to edit the rc.modules file for my nics but it just spits bak that i have a 2.4.5-10 kernel and there is only support for 2.4.5 ...something like that....mmm i think i might need to build anew kernel???
ok i classify myself as a slak noob.....so i need to get a new kernel ok im fine with that but i still need to get the thing on the system and i cant seem to do that because i cant install any modules coz i get that error
i think ive tracked down the user error ie myself. I have a dual boot system with 7.2 and 8 the lilo is on 7.2...I think slak is using the 7.2 kernel ?? coz 7.2 is using 2.4.5-10 .. all i want to know now is what should i put in lilo.conf for slak? lilo doesnt like /vmlinuz for the path. the kernel is on / for slak
It's possible that's what's happening since slack doesn't have a 2.4.5-10 kernel and RH does. If you post your lilo.conf file we can let you know what the entry should look like...
When you edited lilo did you re-run it before you restarted the computer to make sure the changes took effect? I can't see anything shouting at me that's wrong in that section unless Slack doesn't like the order in which your options are in. Mine looks like:
i cant give you the exact lilo error that it gave me.. but i will place the vmlinuz in /boot .. another thing tazz is that i think i am using the redhat swap partition? will that affect anything?? anyways thanks again for the post
Make sure you run /sbin/lilo after you make changes to lilo.conf so they take effect. As far as the swap goes, I actually think it's no problem sharing it as long as RH and Slack are set up to see it correctly which usually happens at install, so I think it's fine. Please correct me if i'm wrong though someone...
ok the way i fixed this problem was by mounting the slackware root and copying vmlinuz over to redhat. i then changed lilo.conf accordingly..the slackware kernel starts up good now thanks for the help
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.