Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-16-2019, 11:07 PM   #1
LQ Newbie
Registered: Jan 2019
Posts: 1

Rep: Reputation: Disabled
Cannot upgrade kernel on CentOS 7. Possibly Grub issue.

Hey there,

So I am new to Linux and cannot solve this problem. I've reached out to my hosting company but they haven't been able to help. I have a VPS running CentOS 7 with Linux When I upgraded from 7.1 to 7.6, the kernel does not update ( to the newest version.

Grub commands do not work and when I use the command "yum list available" grub and grubby are listed in red and as "installed," rather than "@base" or "anaconda".

I have attempted to install grub and grub tools via yum, but it comes up "No Package Available."

I am not sure if you can just install grub through rpm, wget, or another tool. Or if this is even how to approach this problem. Hoping someone can explain or help. Thank you in advance.
Old 01-17-2019, 12:59 AM   #2
Senior Member
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora, Alpine, Cirros, OpenSuse/SLES
Posts: 3,280

Rep: Reputation: 854Reputation: 854Reputation: 854Reputation: 854Reputation: 854Reputation: 854Reputation: 854
To get this out of the way: When you upgrade, you don't upgrade the kernel, but rather install the new kernel in addition to the old one. You can remove the old kernel when you are certain that the new kernel breaks none of your applications.

Now a few questions for clarity.

How do you upgrade?
When you upgrade, is there an error message regarding the kernel?
Red Hat maintains instructions how to upgrade the kernel manually. Have you tried that?

What do you mean by "grub commands do not work" - which commands precisely? Do you mean the bootloader commands or commands like grub2-mkconfig, which you run on the operating system?

I am a bit confused - I thought that yum list available showed those packages that are not installed but can be installed. This contradicts what you are saying. What do you get when you run rpm -qa?

Last edited by berndbausch; 01-17-2019 at 01:01 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[12.04] Upgrade to 14.04 possibly brake samba? parsec Ubuntu 0 10-01-2014 11:44 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
10.0 to 10.2 upgrade questions (possibly stupid spamhippy Slackware 11 10-30-2005 02:33 PM
10.0 to 10.2 upgrade questions (possibly stupid spamhippy Slackware 2 10-27-2005 11:18 AM > Forums > Linux Forums > Linux - Newbie

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

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