LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-02-2004, 09:39 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Help with Kernel update?


I am considering updating my kernel to 2.6. I am currently running Slack 9.1. I went

here http://www.kernel.org/ and downloaded this

http://www.kernel.org/pub/linux/kern...atch-2.6.5.bz2

Do the Instructions here

http://www.kernel.org/pub/linux/kern...atch-2.6.5.bz2 apply to this patch or are they for something else? Thanks
 
Old 05-03-2004, 01:53 AM   #2
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
I've never bothered with the patches....

my advice is to get the full package of 2.6.5 and compile everything from scratch...
Don't forget to leave your old kernel there in case you screw up...
I've been compiling kernels from scratch all the time and i still manage to miss out a few things now and then.. Keyboard + mouse is a nice thing to have amongst others
 
Old 05-04-2004, 12:27 AM   #3
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
I really want to update the kernel but I am afraid of screwing up my system again.
 
Old 05-04-2004, 01:19 AM   #4
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
Then keep the old kernel and set that as your default boot opttion

That way you can do a lot of compling/testing without screwing up to much.
Just compiling and installing doesen't do much damaga apart from using some space
Anyway, there's some good help in the menuconfig on most of the stuff.
"If you don't know what this is, you probably won't need it"

Just one advice. Don't drink and compile. At least not until you've compiled with success at least ten times.. *still forget's that and screw up now and then*
but then i'm in the habit of coming home from my fav.bar and start compiling with a few beers here too..
 
Old 05-04-2004, 02:05 AM   #5
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Are you saying repartition and install the kernel there?
 
Old 05-04-2004, 05:37 AM   #6
CompDude
LQ Newbie
 
Registered: May 2004
Distribution: Slackware 10
Posts: 11

Rep: Reputation: 0
No...

After you download/extract/menuconfig the kernel, then all you have to do is copy the bzImage to the /boot/ section of your hard drive. If you are running lilo edit the lilo.conf file to reflect the new kernel, and at the console type
Code:
lilo
and hit enter. Then you can just restart and be on your way with the new system.
 
Old 05-04-2004, 10:24 AM   #7
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
CompDude is right...
Don't REPARTITION whatever you do. Keep fdisk/diskdruid away from your pc..

Download, unpaxk the files. enter the directory,,,
make menuconfig
make
(you can add "make modules" and "make modules_install" if you're not very paranoid about getting eveything in it's place)
cp arch/i386/boot/bzImage /boot/"bz2.6.5" (or what you want to call it...
then edit /etc/lilo.conf
and look at the entries at the bottom

# Boot up Linux by default.
#
default=2.6.5

image=/boot/2.6.5
label=2.6.5

image=/boot/2.6.4
label=2.6.4

Then save and run the command "lilo" and check for error messages...
Then Grab a beer and reboot the pc
 
Old 05-04-2004, 08:50 PM   #8
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Oh, just like dual booting windows and Linux right? except I can choose between linux kernels and not Operating Systems.

What kind of beer? LOL
 
Old 05-05-2004, 08:53 AM   #9
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
@ BajaNick
Any beer you can get your hands on i' say..
Specialy now when there's a price war on beer here in Norway..
To bad the cheapest beer tastes like cat piss (i imagine)...
So i'l stick with Tuborg...


Have a good weekend *takes weekend now*
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
YaST Online Update(YOU) Kernel Update? batorma Linux - Newbie 9 10-30-2005 03:17 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 11:01 AM
KDE update and RH 9.0 Kernel update massacre Linux - Newbie 1 02-02-2004 06:13 PM
YaST Online Update + AMD kernel patch = kernel panic THX1138 Linux - General 3 10-26-2003 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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
Open Source Consulting | Domain Registration