LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 11-10-2019, 06:27 AM   #1
EnglishWarrior
LQ Newbie
 
Registered: Dec 2015
Posts: 8
Blog Entries: 1

Rep: Reputation: Disabled
CENTOS 7 kernel upgrade


I have been using CENTOS 7 successfully for a while, but now I have a problem. Need to update the kernel to 4.14.87. Found a tar of that kernel release and tried to install, but just came up with problem after problem, because of the need to update other parts of the OS before I could move forward with the kernel update. Failed at this point, so searched for a later release of CENTOS 7. I believe CENTOS 7.7 is what I need. Found CentOS-7-x86_64-Everything-1908.ISO, which was 10GB file, so downloaded and burned to Blu Ray disc. Too big for DVD. This was successful, but when I tried to install to a new sata disk it went through all the usual processes, but just ended up with a prompt, showing a very old kernel version 3.10.

Anyone got any ideas of how to move forward on getting and installing CENTOS 7.7 with much more up-to-date compilers etc., so that I can install the required kernel release ?
 
Old 11-10-2019, 08:15 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Normally, a yum update should be sufficient to go to the latest version of Centos 7. It's not clear to me what you did with the everything-ISO; I hope your system is still OK.

3.10 is the kernel version for all Centos 7 releases. To go to a version 4 kernel, you need to install Centos 8 (based on kernel 4.18 if I am not wrong) or use a different distro.

The currently installed Centos version can be found in /etc/centos-release.

Last edited by berndbausch; 11-10-2019 at 08:19 AM.
 
1 members found this post helpful.
Old 11-10-2019, 09:27 AM   #3
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by berndbausch View Post
...
3.10 is the kernel version for all Centos 7 releases. To go to a version 4 kernel, you need to install Centos 8 (based on kernel 4.18 if I am not wrong) or use a different distro.
...
They could install the latest kernel (kernel 4.x or 5.x) from elrepo, they just need to add the elrepo repo to yum's repolist.

https://elrepo.org/tiki/kernel-ml
https://elrepo.org/tiki/kernel-lt
 
2 members found this post helpful.
Old 11-10-2019, 09:30 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,753

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by EnglishWarrior View Post
I have been using CENTOS 7 successfully for a while, but now I have a problem. Need to update the kernel to 4.14.87. Found a tar of that kernel release and tried to install, but just came up with problem after problem, because of the need to update other parts of the OS before I could move forward with the kernel update. Failed at this point, so searched for a later release of CENTOS 7. I believe CENTOS 7.7 is what I need. Found CentOS-7-x86_64-Everything-1908.ISO, which was 10GB file, so downloaded and burned to Blu Ray disc. Too big for DVD. This was successful, but when I tried to install to a new sata disk it went through all the usual processes, but just ended up with a prompt, showing a very old kernel version 3.10.

Anyone got any ideas of how to move forward on getting and installing CENTOS 7.7 with much more up-to-date compilers etc., so that I can install the required kernel release ?
Best question I have is WHY you 'need' to update the kernel, past what comes with the distro and standard repos. What are you needing the new kernel for? What's it going to do that the stock kernel doesn't?
 
Old 11-10-2019, 12:09 PM   #5
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by EnglishWarrior View Post
Anyone got any ideas of how to move forward on getting and installing CENTOS 7.7 with much more up-to-date compilers etc., so that I can install the required kernel release ?
All CentOS 7 releases (and the RHEL ones they are based on) will be with a 3.10 kernel with BACKported security patches (so it is NOT a stock 3.10 kernel).
To update the system you will have to upgrade to either CentOS 8 or CentOS Stream (which currently is still almost identical to 8, but is a "continous" release, so will get updated packages etc without any versioned new release).
See for the install images on centos.org
 
1 members found this post helpful.
Old 11-10-2019, 12:21 PM   #6
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,748

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Running CentOS Linux 7.7.1908 -- Current kernel is Linux 3.10.0-1062.4.1.el7.x86_64 on x86_64

Yes, you should probably update to 7.7.x No, that won't get you the 4.14.87 kernel.

Repeating the question: Why do you want to use a newer kernel?
 
1 members found this post helpful.
Old 11-11-2019, 09:23 AM   #7
EnglishWarrior
LQ Newbie
 
Registered: Dec 2015
Posts: 8

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Thanks for the replies. I have not tried to update my master CENTOS 7 disk. I had a copy and tried to install the 4.14.87 kernel and that is where everything went wrong. So I located the CentOS-7-x86_64-Everything-1908.ISO, believing that it was a version that would be more up to date. Used a new disk, just as a precaution, so nothing lost when it failed to install and load correctly. I need to update to the 4.14.87 kernel because I have compatibility issues with releasing a driver. It must have same kernel release as end user system or it won't work. I will try to locate a CENTOS 8 release and start again. Forgive me for asking, but where is best site to download CENTOS 8 ?? I prefer to leave my master CENTOS 7 disk installation alone and start from scratch with a new installation, just as a precaution.
 
Old 11-11-2019, 09:58 AM   #8
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,748

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by EnglishWarrior View Post
Forgive me for asking, but where is best site to download CENTOS 8 ?? I prefer to leave my master CENTOS 7 disk installation alone and start from scratch with a new installation, just as a precaution.
Um. centos.org
 
  


Reply

Tags
centos7



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to update Kernel in centos 5.7 version to centos kernel version 6.2 jayakumar01 Linux - Server 4 09-13-2012 12:49 AM
LXer: CentOS 5.5 is Out ! Upgrade now from CentOS 5.4 to 5.5 LXer Syndicated Linux News 0 05-15-2010 07:02 PM
CentOS Error after kernel upgrade. server1 kernel: EDAC MC0: UE page 0x0, offset 0x0 abefroman Linux - Hardware 4 05-15-2010 05:38 PM
Cant Upgrade Centos 4.6 to Centos 5.3 with I2O subsystem crackyblue Linux - Software 2 11-25-2009 05:02 PM
[SOLVED] Upgrade CentOS 5 to CentOS 5.2 mail4vijay Linux - General 9 11-12-2009 02:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 08:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration