更改内核版本 [英] Make changes to kernel version

查看:98
本文介绍了更改内核版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Fedora 20,并且以某种方式将其引导到较早版本的内核:3.11,而不是3.14. uname -r显示3.11.10-301.fc20.x86_64rpm -qa kernel显示kernel-3.11.10-301.fc20.x86_64, kernel-3.13.10-200.fc20.x86_64, kernel-3.14.4-200.fc20.x86_64

I am using Fedora 20 and somehow it boots to an older version of the kernel: 3.11, instead of 3.14. uname -r shows 3.11.10-301.fc20.x86_64 and rpm -qa kernel shows kernel-3.11.10-301.fc20.x86_64, kernel-3.13.10-200.fc20.x86_64, kernel-3.14.4-200.fc20.x86_64

  1. 我很好奇为什么会这样.
  2. 如何使其启动至3.14(更新版本.)
  3. 如果删除旧版本会引起麻烦吗?
  4. 如果没有,我该如何删除旧版本,仅作记录.

另一个线程的用户建议我按住"Ctrl"键来更改此设置,但这还不能完全解决,我希望对此有更永久的解决方案.

A user from another thread suggested me to hold 'Ctrl' key to change this, but this didn't quite work out and I wish to have more permanent solution to this.

所有其他线程仅提及如何安装和引导至旧版本,而没有提及其他方法.任何帮助将不胜感激!

All other thread only mentions how to install and boot to older versions, not the other way around. Any help would be appreciated!

推荐答案

是否在GRUB屏幕中获得了所有内核版本.如果没有,则更新GRUB,它将显示所有kernel version,然后您可以根据自己的选择进行选择.

Are you getting all the kernel version in GRUB Screen. if not then update GRUB then it will display all the kernel version and then you can select as per your choice.

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

使用超级用户模式尝试上述操作.

try above using super user mode.

您不应删除较旧的内核,因为我在Debian中尝试过,这使我格式化了HD,因此最好保留所有版本.您可以删除内核软件包,但是由于依赖关系和其他原因,它可能会引起问题.仍然要删除内核,则可以按照

You should not delete the older kernels as i tried in Debian it made me to format the HD so better keep all versions. You can remove the kernel package but due to dependency and other reasons it may create problems. Still you want to remove the kernels then you can follow the link.

这篇关于更改内核版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆