LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   upgrading kernal (https://www.linuxquestions.org/questions/linux-newbie-8/upgrading-kernal-222234/)

mikey_sk 08-25-2004 10:57 AM

upgrading kernal
 
im running mandrake linux 10.0. can i upgrade my kernal to the most recent 2.6.9 via a rpm?

if so where can i find these rpm's.

the only other way i can think of upgrading my kernal is buying mandrake 10.1 beta but this will mean a fresh re-install/upgrade!!

any suggestions guys? much appreciated

rjlee 08-25-2004 11:24 AM

Pre-built RPMs for kernels tend to lag behind the actual kernel itself. So you probably won't find any, but have a look on http://www.rpmfind.net/ by all means.

If you have gcc installed, then you can upgrade by downloading the tarball (.tar.bz2 file) from http://www.kernel.org.

As root:

Unpack it into /usr/src/linux (move whatever's there out of the way first!)
In a terminal, run:
Code:

cd /usr/src/linux; make cloneconfig xconfig
Take out only things you're sure you won't need, and make sure the processor type is correct. When you're sure you've got the configuration as you want it, save your changes and exit xconfig.

Then run
Code:

make modules modules_install install
Once that's finished, you just have to reboot your computer, and you will have a new kernel.

Tip: However you upgrade your kernel, always take a back-up of the old one first (files in /boot/ ending with the kernel version), and keep a rescue disk to hand. You can also set up your bootloader to load into the old kernel just in case.

You'll find more detailed instructions elsewhere. http://www.tldp.org and http://www.kernel.org are good places to start.

egag 08-25-2004 11:24 AM

why not use google with such a Q. try www,kernel.org .

egag


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