Ask Your Question

Why aren't my system booting newest installed kernel?

asked 2016-10-02 13:41:54 -0500

rambo193 gravatar image

updated 2016-10-04 06:07:59 -0500

hhlp gravatar image

Hi guys,

I'm a total newbie in Linux, and I have encountered a problem. When trying to run VirtualBox I receive an error message, however this is not my questions, because I believe I know what my problem is, however I don't know the solution.

My newest installed kernel is version 'kernel-4.7.5-200.fc24.x86_64' as show below:

However as it can also be seen below i do not have to option to boot my system with the newest kernel version. Currently my system boots in kernel version 4.5.5-300.fc24.x86_64, and not the newer version.

I have tried this: however without luck...

$ rpm -qa kernel

$ grub2-mkconfig -o /boot/grub2/grub.cfg

Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.5.5-300.fc24.x86_64
Found initrd image: /boot/initramfs-4.5.5-300.fc24.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-acda4339debb471f9618016d2590721b
Found initrd image: /boot/initramfs-0-rescue-acda4339debb471f9618016d2590721b.img

$ grep -P "submenu|^menuentry" /boot/grub2/grub.cfg | cut -d "'" -f2

Fedora (4.5.5-300.fc24.x86_64) 24 (Workstation Edition)
Fedora (0-rescue-acda4339debb471f9618016d2590721b) 24 (Workstation Edition)

Hope you can help me with a solution.. :D Best regards /Rambo193

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2016-10-03 19:34:16 -0500

sergiomb gravatar image

from grub2-mkconfig -o /boot/grub2/grub.cfg command , I suspect you have install all kernel packages

see if you have kernel-core-4.7.5-200.fc24.x86_64 installed

rpm -q kernel-core

also you may try

dnf update "kernel*"
edit flag offensive delete link more

answered 2016-10-02 14:58:35 -0500

TWTOoth gravatar image

updated 2016-10-02 15:02:34 -0500

if you are trying to run your virtual box i have just solved this problem and the problem is not the kernel First Step remove the current installed VB either by using the terminal or GUI Second Step install virtual box using the command $ sudo yum install virtualbox Third step follow this through (go to the third answer in the link) Finally restart your PC it should run smoothly i hope this was helpful

edit flag offensive delete link more

answered 2016-10-02 14:16:47 -0500

fcomida gravatar image

updated 2016-10-02 14:17:33 -0500

by default latest kernel will be booted (1st grub2 entry).

rpm -qa | grep kernel to see installed kernels, ls /boot will list installed kernel images: vmlinuz-xxxx

You can try reinstalling latest one: sudo dnf reinstall kernel-4.7.5-200.fc24.x86_64 in case an update went wrong. Check the journal for errors.

edit flag offensive delete link more

Question Tools


Asked: 2016-10-02 13:41:54 -0500

Seen: 494 times

Last updated: Oct 04 '16