LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-27-2004, 07:50 AM   #1
sh4d0w331
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, 07:55 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
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, 02:05 PM   #3
xushi
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
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
 
Old 09-28-2004, 01:05 AM   #4
Cerbere
Member
 
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

Enjoy!
--- Cerbere
 
Old 09-28-2004, 12:47 PM   #5
msober
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, 02:27 PM   #6
justin_p
Member
 
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 (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.
 
  


Reply


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 09:34 AM
Building RPMs from source IronBeagle Linux - Software 2 03-04-2005 02:46 PM
Building kernel module from multiple source file in 2.6 kernel yogeshwar_s Programming 1 12-20-2004 10:31 AM
building and learning the source narender Linux - Newbie 2 04-16-2004 07:37 AM
building from source Protex Slackware 2 02-24-2004 09:26 PM


All times are GMT -5. The time now is 12:37 PM.

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