LinuxQuestions.org
Review your favorite Linux distribution.
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 03-08-2018, 10:11 AM   #1
z080236
LQ Newbie
 
Registered: Mar 2018
Posts: 1

Rep: Reputation: Disabled
Centos7 update kernel does not update bootup kernel ver


Due to the spectre and meltdown vulnerability, I update the Centos 7 kernel from 3.10.0.123.el7.x86_64 to 3.10.0-693.11.6.el7.x86_64

sudo rpm -Uvh *.rpm (folder with kernel dependencies)

After updating, when go to the boot menu, it still show 3.1.0.123.el7.x86_64 and cannot find the image, (as it is not around)
I have to manually e and change the 3.1.0.123 to 3.1.0.0-693.11.6 then press ctrl+x

then it can boot normally.


I tried many methods but to no avail.

sudo vi /etc/default/grub
it is the correct version 3.1.0.0-693.11.6
 
Old 03-11-2018, 07:04 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
I've encountered a similar problem in Fedora Rawhide on occasion. One work-around is to run (as root)
Code:
grub2-mkconfig -o grub.cfg.temp
, then examine the newly-created grub.cfg file. If it looks good, I just manually replace the existing grub.cfg file (in /boot/grub2 on non-uefi systems or in /boot/efi/EFI/fedora for me on uefi systems) with my new file. Another work-around I've used is to manually edit the relevant grub.cfg file by copying the existing good entry, changing the kernel and initrd to reflect the version associated with the new kernel.aboutreferences#search
 
  


Reply



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
[SOLVED] No bootup after slackpkg update with kernel upgrade sattvakarma Slackware 13 09-04-2019 11:56 AM
SAN drives don't start update applying kernel update fsuchipj Linux - Newbie 1 04-18-2012 02:26 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 11:01 AM
update to new kernel ,bootup still boot old kernel? kalmen Linux - General 3 06-21-2003 06:55 PM

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

All times are GMT -5. The time now is 05:07 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