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.
Distribution: Fedora core 5 Ubuntu 6 Slackware 11(if and when I get it running)
Posts: 151
Rep:
Installing kernel 2.6.18 on slackware 11
Hello all,
recently I've incurred a few problems with the current kernel i'm using, namely, 2.4.33.3.
So I used the kernel which comes on CD3 of the slackware cd download. I chose the test26.s kernel which is 2.6.18 kernel. I've searched all over the internet for an explanation on how this should be installed, however, I have run into a few confusions along the way.
I saw Daones guide, which I found very handy it worked, or so I thought, what I didn't understand at the time but do now is I did something wrong which instead of installing the new kernel it is simply installing the old stuff. I tried placing it in the directory /usr/src/ but when copying it over it asks if I wish to overwrite system map which I'm not sure if i'm able, because the test26.s one has system map, but so does the /usr/src/ directory.
Here are the files that comes with my package off the Cd.
bzImage
Config
System.map.gz
If these are all I need, then where do I place them? I assume once they're in the proper location Daone's guide will work for me. Thanks for any clarification.
you need to install the kernel-generic and kernel-modules packages on disc 4. Then read the README.INITRD and do what it says, including editing /etc/lilo.conf and running /sbin/lilo.
Distribution: Fedora core 5 Ubuntu 6 Slackware 11(if and when I get it running)
Posts: 151
Original Poster
Rep:
I would love to be able to do that, but I do not have internet on my linux right now, so I cannot install anything outside of the cds 1-3 unless I download cd4 which I could do if you think its absolutely nessesary
I think the CD should prompt you to install the kernel you booted with. Anyway, assuming that all you want to do is install test26.s and you have only the 3 files you listed above then do: (extract the 'System.map.gz')
Code:
# remove the old
rm -f /boot/config.old
rm -f /boot/System.map.old
rm -f /boot/vmlinuz.old
# rename the present
mv /boot/config /boot/config.old
mv /boot/System.map /boot/System.map.old
mv /boot/vmlinuz /boot/vmlinuz.old
# copy in the new (this is assuming those files are in the current directory, if not, then provide full path)
cp ./bzImage /boot/vmlinuz
cp ./System.map /boot
cp ./config /boot
# change permissions of vmlinuz
chmod a-rwx,u+r /boot/vmlinuz
Distribution: Fedora core 5 Ubuntu 6 Slackware 11(if and when I get it running)
Posts: 151
Original Poster
Rep:
Tex? So we're ok to delete those files? I was so afraid of deleting them and throwing my system into tumult. Thanks so much, I will report back later with a hopefully successful tale.
Oh PS: Tex, the reason I'm trying to change is mainly due to the wireless problem among others as well, but thanks for your vigilance, I appreciate it.
Distribution: Fedora core 5 Ubuntu 6 Slackware 11(if and when I get it running)
Posts: 151
Original Poster
Rep:
no, no that why I asked, because as I stated before my partition table has windows xp as the first partition with slackware and then some swap space.
I'll bare that in mind while editing lilo.conf. however, I have a new problem, texmex must not have actually checked out my 3 files or he may have made an error, but, I do not have vmlinuz. It didn't come in the folder test26.s and I do not have an active connection on this PC to get it. tex said in his instructions to cp ./vmlinuz /boot/vmlinuz, moreover, this is impossible as of now for me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.