How do I install the latest 2.6 kernel from the Slack FTP?
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 do I install the latest 2.6 kernel from the Slack FTP?
I was wondering how to install the latest kernel from the Slackware FTP? Wouldnt I have problems with the modules that my current system have? Or would it come with all the necessary hardware components detected?
the kernel comes with all the modules compiled and runs them according to your hardware.
i would recommend using both the 2.4.x kernel and the 2.6. you'll need to edit /etc/lilo.conf to point to your new kerel (the run /sbin/lilo).
don't remove the line about your old kernel, in case the new one doesnt work.
if you've got the nvidia driver compiled that wont work and you'll need to run the setup script again....
get the kernel, bzImage from where ever u like
put it in /boot and if u want rename it to "vmlinuz-2.6.15"
#mv bzImage /boot/vmlinuz-2.6.15
install modules for that
(download the package correspond to kernel, module package for kernel
#installpkg xxx.tgz, it will go to /usr/lib/mod... )
editn lilo
----------
image = /boot/vmlinuz-2.6.15
root = /dev/hda1 <-- put your / (root/boot) partition here
label = 2.6.15 <-- or lin2.6
read-only
----------
run lilo
#lilo
#shutdown -r now
if problems then we will c ;^)
enjoy
The 2.6.13 kernel in SW10.2 uses 2.4.31 kernel headers pkg. So for 2.6.15x kernel pkg we use the 2.6.15x kernel- headers pkg? How is gcc version affected? Are there other pkgs affected?
if you're interested here is the script i used to list my packages(not written by me)
Code:
#!/bin/sh
#*******************************************************************************# Name: lspkg
#
# A Slackware tool which simply lists the currently installed packages.
#
# Originally written by CTWaley (a.k.a., thegeekster) and originally posted in
# the Slackware forum at LinuxQuestions.org,
#
#
# This program is given to the Public Domain and is free software. You can
# redistribute it and/or modify it without restriction of any kind.
#
# It distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
#*******************************************************************************
case $1 in
-h | --help ) # If -h (--help) is given as an argument, show the usage.
cat << __EOF__
Usage: lspkg [ ... ]
Lists the Slackware packages currently installed. If no argument is
given, it will output all packages currently installed. If an argument
is given on the command line, it will look for the package name matching
the pattern(s) supplied. More than one package name or pattern may be
given on the command line.
Use the wildcards * and ? when looking for a package name containing the
characters supplied on the command line. For example, to find a package
containing the word "lib", but does not necessarily begin with "lib",
use one of the patterns "*lib", "?lib", "??lib" or even "??lib*". To see
if you have both "bzip" and "bzip2" installed on your system, you can
use the search term "bzip?". You may also enclose the search pattern in
single quotes (') or double quotes (") to avoid the shell interpeter from
interfering with the search term when using the wildcard characters.
__EOF__
;;
* )
[ -z $1 ] && 'ls' /var/log/packages/ | less \
|| {
while [ ! -z $1 ]
do
pkg=`echo $1 | sed 's/\./\\./g; s/\*/.*/; s/\?/.?/g'`
'ls' /var/log/packages/ | egrep -i "^$pkg\>"
shift
done | more
}
esac
I tried installing the latest kernel from the repository way back a few weeks ago and to my dissapointment even after pointing everything to the new config, bzImage and System.map, apparently the kernel is looking for the old config or modules which makes the new one unusable. Maybe that's what ye mean by the 2.6 using the 2.4 headers. Anyway, I could be wrong, just sharing my experience. Now im trying to install it again and hopefully I could do it right this time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.