Quantcast
Channel: 钻戒 and 仁豆米
Viewing all articles
Browse latest Browse all 290

Ubuntu下如何固定选择老的核心启动

$
0
0

不知道为何,Ubuntu系统自动升级,弄了好多个核心。

结果启动都是异常,必须用老的4.10的核心才能正常启动,Nvidia显卡的驱动才能正常加载。

那么如何固定Ubuntu启动的时候选择老核心启动呢?

很简单

vi /etc/default/grub  
GRUB_DEFAULT=  
把上面更换为
GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 4.10.0-42-generic"  
sudo update-grub  

解释一下,Ubuntu用的是grub2,就不能简单编辑grub.cfg来指定启动顺序了。

首先是Advanced options for Ubuntu,然后下面的子菜单Ubuntu, with Linux 4.10.0-42-generic

Advanced optins For Ubuntu是Advance那一项的折叠菜单全称

子菜单可以在/boot/grub/grub.cfg中找到:

 menuentry 'Ubuntu, with Linux 4.10.0-42-generic' ...

搞定。


Viewing all articles
Browse latest Browse all 290

Trending Articles