[Seek Help] 开机启动项怎么设置为记住上次选项
Tofloor
poster avatar
xuhong
deepin
2021-07-08 03:48
Author

系统内只能设置为固定的启动项

之前修改 /boot/grub/grub.cfg  下 GRUB_DEFAULT=saved  ,能自动选择上次开机选择的选项

现在这么设置好像失效了

Reply Favorite View the author
All Replies
Ziggy
deepin
2021-07-08 05:45
#1

用grub-customizer

Reply View the author
xuhong
deepin
2021-07-08 07:38
#2

我试试看

Reply View the author
from-mail_1xx-xxxx-007
deepin
2021-07-08 16:58
#3
Reply View the author
xuhong
deepin
2021-07-08 23:06
#4

这个对我没用,它这个是设置固定的启动选项,我想要的是记住上次的选项

比如第一次启动我选择windows,第二次开机就已经选中了windows启动选项

应该是20.2版本之前是可以设置GRUB_DEFAULT的值为saved能达到这个效果,现在好像失效了

Reply View the author
xuhong
deepin
2021-07-09 06:28
#5

问题已解决

编辑文件 /etc/default/grub  写入一下两行

GRUB_DEFAULT=saved

GRUB_SAVEDEFAULT=true

保存后执行命令进行更新

update-grub

 

Reply View the author