Files
tldr/pages.zh/linux/grub-bios-setup.md

17 lines
450 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# grub-bios-setup
> 设置设备以使用BIOS配置的GRUB。
> 在大多数情况下,您应该使用`grub-install`而不是`grub-bios-setup`。
> 更多信息:<https://manned.org/grub-bios-setup.8>。
- 设置设备以使用GRUB启动
`grub-bios-setup {{/dev/sdX}}`
- 即使检测到问题也要安装:
`grub-bios-setup --force {{/dev/sdX}}`
- 在特定目录中安装GRUB
`grub-bios-setup --directory={{/boot/grub}} {{/dev/sdX}}`