LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Help with Kernel update? (https://www.linuxquestions.org/questions/linux-general-1/help-with-kernel-update-177162/)

BajaNick 05-02-2004 09:39 PM

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

Kroppus 05-03-2004 01:53 AM

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 ;)

BajaNick 05-04-2004 12:27 AM

I really want to update the kernel but I am afraid of screwing up my system again. :eek:

Kroppus 05-04-2004 01:19 AM

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.. :)

BajaNick 05-04-2004 02:05 AM

Are you saying repartition and install the kernel there?

CompDude 05-04-2004 05:37 AM

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.

Kroppus 05-04-2004 10:24 AM

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 :)

BajaNick 05-04-2004 08:50 PM

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 :)

Kroppus 05-05-2004 08:53 AM

@ 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*


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