LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Install an extra kernel! (https://www.linuxquestions.org/questions/linux-server-73/install-an-extra-kernel-4175505465/)

AhmedAmer12 05-19-2014 12:12 PM

Install an extra kernel!
 
Hello ,
I need to install extra kernel . Currently , I am having 2.6.32-431.el6.x86_64 Kernel . I need to install an extra kernel so I have the choose to boot from either of them.

OS : Centos 6.5

Please give me how-to guide or ask for extra info in order to solve the issue.


Thanks in advance

John VV 05-19-2014 02:01 PM

there is no such thing called "extra kernel"

now
centos WILL keep back ups of OLD kernels as updates are installed

normally there are 3 back ups kept

run
Code:

su -
yum update


AhmedAmer12 05-19-2014 02:33 PM

That is perfect answer!

I managed to update the kernel and when the system boots it gives me the option to boot from either the old one or the recently updated one.

Now , i want to discover how many kernel i can boot from from an up and running system from CLI...any commands to issue?

AhmedAmer12 05-19-2014 02:48 PM

Quote:

Originally Posted by AhmedAmer12 (Post 5173741)
That is perfect answer!

I managed to update the kernel and when the system boots it gives me the option to boot from either the old one or the recently updated one.

Now , i want to discover how many kernel i can boot from from an up and running system from CLI...any commands to issue?


found it , from /etc/grub.info file!

Any other ways to retrieve the same piece of info?!

AhmedAmer12 05-19-2014 06:34 PM

Quote:

Originally Posted by AhmedAmer12 (Post 5173748)
found it , from /etc/grub.info file!

Any other ways to retrieve the same piece of info?!

Found it >>> " rpm -qa kernel " command is what you need.

GunFighT 05-27-2014 02:40 PM

Here is a link where you can find a HowTO:
http://www.tecmint.com/kernel-3-5-re...os-and-fedora/

With this HowTO I`ve changed my Kernel on CentOS.

If the Kernel you want to install give`s some errors on compilation, you can boot from the default kernel on server and you can erase`it or install another one.
Hope it helps you.

Here`s a output from my server after I`ve folowed this HowTO:
Code:

[root@centos ~]# cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m

[root@centos ~]# uname -a
Linux centos 3.5.0 #1 SMP Sat Feb 22 00:00:36 EET 2014 x86_64 x86_64 x86_64 GNU/Linux



All times are GMT -5. The time now is 11:02 AM.