-   Slackware (
-   -   help for building a kernel from source (

sh4d0w331 09-27-2004 06:50 AM

help for building a kernel from source
i have been trying to upgrade my kernel from 2.4 to 2.6, and I have been trying my hardest to try and follow exactly what the official slackware book said, but I still cant upgrade, and the kernel keeps on booting from 2.4 if anybody could offer any help, I would really appreciate it.

320mb 09-27-2004 06:55 AM

are you booting up from a floppy??
if so, you need to make a new one.............
command is:

makebootdisk /boot/vmlinuz

xushi 09-27-2004 01:05 PM

Either install the default kernel ide (if you're running from an ide hard drive) with slackware packages from
using upgradepkg oldpkg newpkg (or remove the kernel packages from pkgtools, then install the new ones)


Compile your kernel manually, following this thread

Cerbere 09-28-2004 12:05 AM

This forum has two great threads which will guide you through the process(es) of compiling a kernel from source:

kernels <=2.4

kernel 2.6

--- Cerbere

msober 09-28-2004 11:47 AM

From your post, my guess would be something to do with lilo, did you copy bzImage to /boot?
also, did you change /etc/lilo.conf to see and load the new kernel?
and did you run /sbin/lilo after you edited /etc/lilo.conf?

If everything compiled correctly, I think that might be where you are getting caught up on.

justin_p 09-28-2004 01:27 PM

follow the directions right from Patrick (
to upgrade your kernel from 2.4 to 2.6 (as your post says). Works like a charm.

All times are GMT -5. The time now is 02:44 PM.