纠正错误 添加实例

grub2-mkconfig

生成 grub.cfg 配置文件。

语法

Usage: grub2-mkconfig [OPTION]
Generate a grub config file

  -o, --output=FILE       output generated config to FILE [default=stdout]
  -h, --help              print this message and exit
  -v, --version           print the version information and exit

Report bugs to <[email protected]>.

实例

生成新的grub配置文件

grub2-mkconfig -o /boot/grub2/grub.cfg

# 或者

grub2-mkconfig > /boot/grub2/grub.cfg
Copyright © www.ddosi.org 雨苁
收藏本站请使用 Ctrl+D 或者Command+d =GitHub= 共搜集到 590 个Linux命令