Welcome 微信登录

首页 / 操作系统 / Linux / Ubuntu Grub2启动上一次正确启动的内核

让Ubuntu Grub2 引导上一次正确启动的内核,需要设置两个变量,如下:/etc/default/grubGRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true然后运行update-grub命令。参考Saved
Saving an OS can be achieved by running sudo grub-set-default ifGRUB_DEFAULT=saved is set in /etc/default/grub. It may also be saved if GRUB_SAVEDEFAULT=true is also set in /etc/default/grub. In this case, the default OS remains until a new OS is manually selected from the GRUB 2 menu or thegrub-set-default command is executed. 如何在Ubuntu 12.10下重置Compiz及UnityUbuntu 12.10 软件更新源列表相关资讯      grub2  Ubuntu Grub2 
  • GRUB2 的零日漏洞影响 Linux 用户  (12/18/2015 07:40:06)
  • Ubuntu 14.04 Grub2 的小技巧  (04/22/2014 19:38:09)
  • grub2 引导 openSUSE 安装镜像  (03/19/2014 07:40:49)
  • GRUB2手动引导Ubuntu  (10/20/2014 08:06:05)
  • Windows 8系统更新会删除GRUB2并设  (03/26/2014 08:58:19)
  • GRUB2进入稳定分支  (10/19/2013 10:01:34)
本文评论 查看全部评论 (0)
表情: 姓名: 字数