更新grub默认启动系统和等待时间

银河麒麟系统默认文本编辑软件 命令行启动命令 pluma

 

 

sudo pluma /etc/default/grub

编辑两行数据就可以

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0   #默认启动的顺序,从0开始 比如windows11是第三行就取值2即可
GRUB_TIMEOUT=1   #等待延时,也就是那个启动哪个系统的显示时间,可以取值5s 

 

保存文件

使用

sudo update-grub

更新配置生效。

posted @   智能电网  阅读(13)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 使用C#创建一个MCP客户端
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列1:轻松3步本地部署deepseek,普通电脑可用
· 按钮权限的设计及实现
点击右上角即可分享
微信分享提示