LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   help for building a kernel from source (http://www.linuxquestions.org/questions/slackware-14/help-for-building-a-kernel-from-source-235720/)

sh4d0w331 09-27-2004 07: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 07: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 02:05 PM

Either install the default kernel ide (if you're running from an ide hard drive) with slackware packages from
http://slackware.com/pb/searchpkg.ph...&string=kernel
using upgradepkg oldpkg newpkg (or remove the kernel packages from pkgtools, then install the new ones)

OR

Compile your kernel manually, following this thread http://www.linuxquestions.org/questi...threadid=49035

Cerbere 09-28-2004 01: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

Enjoy!
--- Cerbere

msober 09-28-2004 12:47 PM

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 02:27 PM

follow the directions right from Patrick (http://slackware.at/data/slackware-1.../README.initrd)
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 03:20 AM.