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.
hi, i'm sort of a newbie using slackware 10.2, 2.4.31 kernel, can anyone help me with upgrading to new kernel 2.16.17.9, since this is the 1st time i'm doing this?
That is a pretty big upgrade, so I would recommend installing the stock 2.6.16 kernel first, so you have udev/alsa/sysfs all set up. YMMV, but it would help IMHO to upgrade like that. Cheers.
I did a clean install with 2.6.13. If you want to upgrade to a more cutting edge kernel shilo and DaOne have two excellent kernel compile guides that are pinned at the top of this forum:-)
this topic is discussed many times since u r new i can send the tutorial once more
also i think that, "installing new kernel" is corerct word than "upgrading kernel"
this is my small how to on kernel compile
--------------
download the kernel source to ur home/build/ dir http://kernel.org/pub/linux/kernel/v....17.10.tar.bz2
say /home/xxxx/build (u have a dir called build in home. $mkdir build ..wil do)
now u r in /home/xxxx/build$,
$wget -c http://kernel.org/pub/linux/kernel/v....17.10.tar.bz2
$tar -xvjf
(if needed, u can create a simlink as we do in /usr/src,
$ln -sf linux-2.6.17.10/ linux)
$cd linux-2.6.17.10/ directory, then issue:
Code:
$ make menuconfig (from text node) {make xconfig or gconfig, i do gconfig -both this are for xwindow} (make your changes then save the file) --->how simple!! it will take some time if doing first time, if u read the helps a day or one week ....
$ make <---then su to root and
# cp System.map /boot/System.map-2.6.17.10 ; ln -sf /boot/System.map-2.6.17.10 /boot/S ystem.map
# make modules_install
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.17.10
# lilo <----before doing this edit lilo
# reboot <--if u want to try this kernel
editin lilo
---------
image = /boot/vmlinuz-2.6.17.10
root = /dev/hda1 <-- put your / (root/boot) partition here
label = 2.6.17.10 <-- or lin2.6
read-only
-------------
i think make will include make bzImage on it, but the way i do it
Code:
cp /boot/config ./.config
make oldconfig
<adjust the configuration if needed>
make bzImage
make modules
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.xx.yy
cp System.map /boot/System.map-2.6.xx.yy
cp .config /boot/config-2.6.xx.yy
<adjust symlink in /boot>
<edit lilo.conf>
/sbin/lilo -v (make sure no errors)
restart
it will use the old config file (if you don't want to build another config file). I usually saved it in my other directory so that i can use it again to build the next kernel. I derived it from Slackware's default config file
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.