当前位置: 首页>>技术问答>>正文


如何使用较旧的内核版本启动?

, ,

问题描述

最新的内核导致我的声音出现问题,这在旧版本中运行良好。由于我只安装了Ubuntu,因此在启动时不会显示Grub。如何在启动时手动选择我的内核版本?

最佳解决方法

显示Grub的最简单方法是在启动时按住SHIFT按钮。

作为替代方案,您始终可以在不启动任何特定内核的情况下显示Grub:

gksudo gedit /etc/default/grub

GRUB_TIMEOUT更改为-1并注释掉GRUB_HIDDEN_TIMEOUT

通过跑完成

sudo update-grub

次佳解决方法

在启动时按住shift键,将显示Grub菜单。您现在可以选择较旧的内核版本。

要选择较旧的内核作为默认内核,请参阅this帖子

第三种解决方法

在GRUB与条目一起显示时启动时选择第二个条目,即Ubuntu的高级选项,您可以看到之前安装的不同旧版内核版本,您可以选择其中一个适合您的版本。否则,您转到grub.cfg并将所需的内核版本粘贴到当前安装的内核条目之上。它在两种方式都有效

第四种方法

通过https://help.ubuntu.com/community/Grub2

GRUB_HIDDEN_TIMEOUT=0

This setting determines how long a screen without the GRUB 2 menu will be displayed. While the screen is blank, the user can press any key to display the menu.

The default behavior is to hide the menu if only one operating system is present. If a user with only Ubuntu wishes to display the menu, place a # symbol at the start of this line to disable the hidden menu feature.

降级内核:How to downgrade the Kernel on 11.10

升级内核:How can I upgrade kernel to 3.1?

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/1780.html,未经允许,请勿转载。