LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-24-2004, 10:14 AM   #1
stevoman098
Member
 
Registered: Jan 2004
Distribution: Topologilinux, Fedora Core 1, WinXP
Posts: 41

Rep: Reputation: Disabled
Updating to kernal 2.6.1


i currently have kernel 2.4.22 and i downloaded 2.6.1
do i need to compile it, and if so, how? then how do i start using the new kernel instead of the old one
 
Old 01-24-2004, 10:18 AM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
http://www.linuxquestions.org/questi...threadid=73436

good luck.
 
Old 01-24-2004, 10:24 AM   #3
stevoman098
Member
 
Registered: Jan 2004
Distribution: Topologilinux, Fedora Core 1, WinXP
Posts: 41

Original Poster
Rep: Reputation: Disabled
wow awesome info, thanks a ton
 
Old 01-24-2004, 07:46 PM   #4
mrjones2k3
LQ Newbie
 
Registered: Oct 2003
Location: North Carolina
Distribution: Fedora Core 1
Posts: 1

Rep: Reputation: 0
Works in Fedora...maybe other distros too, its worth a shot
This is the easiest way I could find, just brush up on your hardware specs
...

download 2.6.1 source from kernel.org
extract into usr/src/linux-2.6.1

steps (post su logging in):

1) make mrproper
removes old crap to start fresh (every time you bungle it up)

2) make xconfig (which I prefer, but you can use menuconfig if you want)

3) choose your modules and whatnot

4) Save and exit

5) make bzImage (and check output to be sure error free)

6) make modules (this part usually takes a really friggin long time, so grab a cup of coffe, have a smoke, etc, oh and check the output)

7) make modules_install (this installs your compiled modules)

8) make install (this installs the kernel automatically, updates your lilo or grub configuration)

IF YOU USE LILO:
one more step involved:
type 'lilo -v'

reboot, choose linux-2.6.1 from the list and check output

It took me 4 or 5 recompiles to get my usb mouse working correctly,
but you learn as you go...

What I think is amazing though is that 160 MB of source code can get compiled into just over 1 MB, just shows the difference between high and low level code!
 
  


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
updating the linux kernal cwl157 SUSE / openSUSE 1 09-27-2005 06:37 PM
Kernal updating Nullhellfire Slackware 6 03-29-2005 04:14 PM
Updating Kernal shimano55 Linux - Newbie 1 03-10-2005 08:44 PM
Kernal Updating error nerofiend Linux - Newbie 3 03-06-2004 04:29 PM
Kernal updating? Khue Linux - Software 6 01-27-2002 06:03 AM


All times are GMT -5. The time now is 09:07 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration