Skip to content

Commit

Permalink
Create grub2-mkconfig.md (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
lutixiaya authored Oct 21, 2022
1 parent 5e58049 commit fbf588f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions command/grub2-mkconfig.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
grub2-mkconfig
===

生成 grub.cfg 配置文件。

## 语法

```shell
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配置文件

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

# 或者

grub2-mkconfig > /boot/grub2/grub.cfg
```

0 comments on commit fbf588f

Please sign in to comment.