更新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 @ 2025-02-16 21:51  智能电网  阅读(204)  评论(0)    收藏  举报