LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to upgrade kernel 2.6.13 or higher (https://www.linuxquestions.org/questions/linux-general-1/how-to-upgrade-kernel-2-6-13-or-higher-456917/)

pro_chandan 06-21-2006 08:46 AM

How to upgrade kernel 2.6.13 or higher
 
Hi,

I have installed RedHat Linux Enterprise WS 4 on my notebook. However, I want to upgrade my kernel.
Can anyone give me link to download 2.6.13 or higher and how to upgrade them step by step.

Thanks,
Chandan K.

FreeDoughnut 06-21-2006 04:28 PM

Go to http://www.kernel.org and download the latest stable kernel (full sources). Extract it to /usr/src and make the linux symlink point to the new folder with "rm linux; ln -s linux-kernel-version"(just for convenience). Next, cd into the linux folder and type "make gconfig" (for Gnome), "make qconfig" (for QT/KDE), or "make menuconfig" (menu-based terminal, my preferred method). Next, you need to select the modules that apply to your computer. Search around and you'll find a guide. Next, save the configuration. Type "make bzImage", "make modules", and then "make install". Then you need to update your bootloader. These are the instructions for Grub. If you use Lilo, I can't help you. Copy /usr/src/linux/arch/your architecture/boot/bzImage to /boot/vmlinuz-kernel-version. Change the vmlinuz symlink to point to the new kernel like with the linux symlink. Next, edit /boot/grub/menu.lst. Make a section like this:
Quote:

title=RedHat Linux any other stuff you want to see in the menu
root (your Red Hat partition but subtract 1 from the numbers (/dev/hda5 becomes hd0,4))
kernel /boot/vmlinuz root=/dev/Red Hat device (hda4)
Reboot and feel up to date!

pro_chandan 06-22-2006 11:24 AM

Hi,

Thanks for your help..
I tried to install successfully.
However, when I reboot my notebook and open in new kernel it's getting hand during botting..

Where I am doing mistake?? Do I need to verify somewhere??

Regards,
Chandan K.

DeusExLinux 06-22-2006 10:46 PM

What exactly do you mean by it's getting hand during booting?

What are the exact errors you're getting?

XavierP 06-23-2006 01:06 PM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php


All times are GMT -5. The time now is 06:01 AM.