cp, grub-install, grub-mkconfig, hexdump, readelf: add Chinese translation (#6278)

This commit is contained in:
errorcode
2021-08-14 01:19:36 +08:00
committed by GitHub
parent e1f284ac5d
commit 39b5be991a
5 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# grub-install
> 安装 GRUB 到设备。
> 更多信息:<https://www.gnu.org/software/grub/manual/grub/html_node/Installing-GRUB-using-grub_002dinstall.html>.
- 安装 GRUB 到基于 BIOS 的系统:
`grub-install --target={{i386-pc}} {{/dev/sdX}}`
- 安装 GRUB 到基于 UEFI 的系统:
`grub-install --target={{x86_64-efi}} --efi-directory={{path/to/efi_directory}} --bootloader-id={{GRUB}}`
- 安装预置指定模块的 GRUB:
`grub-install --target={{x86_64-efi}} --efi-directory={{path/to/efi_directory}} --modules="{{part_gpt part_msdos}}"`