Install precompiled kernel
Hello,
I have a Slackware 10 installation with the default 2.4.26 bare.i kernel. I would like to add also the 2.4.27 kernel. I downloaded the files System.map.gz bzImage config from ftp://ftp.slackware.com/pub/slackwar...rnels/bare.i/, but have no real idea how to install them. I want to add the new kernel to lilo so that I can choose between "Slack-2.4.26" and "Slack-2.4.27" and not to upgrade the existing one. It would be great if the new one was the default choice. This is my lilo.conf: Code:
# LILO configuration file Code:
lars@desktop:~$ ll /boot Thanks a lot :) |
Copy bzImage to /boot/bzImage-2.4.27
Edit /etc/lilo.conf -- add: image=/boot/bzImage-2.4.27 root="/dev/hda3" label="Slack-2.4.27" read-only Run lilo reboot and enjoy ;) |
Wow, I thought that it must be easy, but didn't know that it is that easy. Thank you very much :) .
|
not a problem. Enjoy ;)
|
I can't boot the kernel due to missing dependencies:
Code:
modprobe: Can't open dependencies file /lib/modules/2.4.27/modules.dep (No such file or directory) Code:
lars@desktop:~$ ll /lib/modules/2.4.26/ cp -R /lib/modules/2.4.26 /lib/modules/2.4.27 or is there anything else I have to do? |
I would try that first. There can't be that much difference between them.
|
Unfortunately that doesn't work. I get a lot of kernel mismatches and can't boot with the kernel. Do you have any ideas what else I could try?
|
I know that there is a 2.6.x kernel in slackware-current.
AFAIK -- this is kernel should work -- I normally compile my own kernels |
i've got this package installed for the 2.4.26
kernel-modules-2.4.26-i486-3 you should look for : kernel-modules-2.4.27-i486-?.tgz at the Slackware-site ( ? =version ) and install that one. egag |
Thanks, I also have the
kernel-modules-2.4.26-i486-3 installed. Is found the kernel-modules-2.4.27-i486-1.tgz on the Slackware site. Is it safe to install them without breaking the modules of my existing, running, 2.4.26 kernel? At least I always need one kernel that works =). |
I would imagine that this would be safe.
|
if you look in "/lib/modules ", there is a dir. 2.4.26 and 2.4.27 (you copied that if i understand ok ? )
if so, just delete the 2.4.27 dir, then use " #installpkg kernel-modules-2.4.27-i486-1.tgz " to install them. that should work..... egag |
Ok, I will give that a try when the download of the modules is done. Sounds logical. Just wanted to be sure.
|
So, I installed the kernel modules and get no errors when booting with the new kernel. The problem now is, that it doesn't start X. It ends saying:
Code:
Starting X11 Session manager... Code:
Dec 12 19:17:24 desktop kdm: :0[1630]: IO Error in XOpenDisplay |
You'll have to look at your xorg log. It's possible that the 2.4.27 kernel is loading modules differently. It could be a number of things, but when I compiled 2.6.9, I ran into a couple issues that prevented X from loading successfully. If I remember right, some of the usb settings were screwy and X couldn't find the mouse. And there were some problems with video. What output do you get from:
Code:
grep -e "(EE)" -e "(WW)" /var/log/Xorg.0.log LOL...you must have been editing that post as I was writing this one. The kdm errors are likely due to problems with the X setup itself, rather than with kdm. The info in Xorg.0.log should point you in the right direction. |
All times are GMT -5. The time now is 06:57 AM. |