Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-27-2004, 06:50 AM   #1
LQ Newbie
Registered: Sep 2004
Distribution: Slackware 10.0
Posts: 19

Rep: Reputation: 0
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.
Old 09-27-2004, 06:55 AM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

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

makebootdisk /boot/vmlinuz
Old 09-27-2004, 01:05 PM   #3
Senior Member
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
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
Old 09-28-2004, 12:05 AM   #4
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
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
Old 09-28-2004, 11:47 AM   #5
LQ Newbie
Registered: Oct 2002
Location: Under the sea
Distribution: slackware-current
Posts: 25

Rep: Reputation: 15
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.
Old 09-28-2004, 01:27 PM   #6
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Building compiler from source corbis_demon Programming 2 06-08-2005 08:34 AM
Building RPMs from source IronBeagle Linux - Software 2 03-04-2005 01:46 PM
Building kernel module from multiple source file in 2.6 kernel yogeshwar_s Programming 1 12-20-2004 09:31 AM
building and learning the source narender Linux - Newbie 2 04-16-2004 06:37 AM
building from source Protex Slackware 2 02-24-2004 08:26 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration