LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   kernel update (https://www.linuxquestions.org/questions/linux-hardware-18/kernel-update-611916/)

utkarshrawat 01-08-2008 01:32 AM

kernel update
 
i WANT TO UPGRADE MY KERNEL ,Since my screen resolution & sound are not getting configured properly . but i dont know how to do
when i gave this command
Code:

uname -a
Linux localhost.localdomain 2.6.18-8.el5xen #1 SMP Fri Jan 26 14:42:21 EST 2007 i686 i686 i386 GNU/Linux

Code:

uname -m
i686

uname -r
2.6.18-8.el5xen

I dont know which kernel package ,i have to install

thedonkdonk 01-08-2008 01:46 AM

What distribution are you using? If its CentOS, RHEL, Fedora or the like you would run:
Code:

sudo yum -y install kernel && reboot
If its debian, Ubuntu or the like you would run:
Code:

sudo apt-get -y install kernel && reboot
Note that I include the reboot command because you need to reboot to start using the new kernel. If you are using a different distribution let me know what it is and i will still help you out.

utkarshrawat 01-08-2008 02:38 AM

Iam using redhat 5 ,linux enterprise server.As u have told me to type command .It gave

Code:

[root@localhost ~]# sudo yum -y install kernel
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
No Match for argument: kernel
Nothing to do


thedonkdonk 01-08-2008 01:50 PM

You need to register RHEL 5. This is usually done at installation however, I found a FAQ on Red Hat Enterprise Linux registration here: https://www.redhat.com/support/resou...ation_numbers/. After you register you will be able to update your kernel using yum.

If for some reason you do not want to register with Red Hat Enterprise Linux then please use CentOS 5 which is free and almost exactly like RHEL 5. You can download the ISO files at http://mirror.centos.org/centos/5/isos/.

Emerson 01-08-2008 03:03 PM

Quote:

Originally Posted by utkarshrawat (Post 3015207)
i WANT TO UPGRADE MY KERNEL

I dont know which kernel package ,i have to install

Kernel sources are free from kernel.org.

utkarshrawat 01-09-2008 11:18 PM

Hye
I have downloaded CentOS-5.1-i386-bin-6of6.iso.dap ,it took almost a day ,my processor speed is slow
plz tell me what i have to do next

i again used the same command
sudo yum -y install kernel but the result was the same
Code:

sudo yum -y install kernel
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
No Match for argument: kernel
Nothing to do



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