Files
cheatsheet-tldr/tldr/linux/grub-bios-setup

23 lines
556 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# grub-bios-setup
> Set up a device to use GRUB with a BIOS configuration.
> You should use `grub-install` instead of `grub-bios-setup` in most cases.
> More information: <https://manned.org/grub-bios-setup.8>.
- Set up a device to boot with GRUB:
`grub-bios-setup {{/dev/sdX}}`
- Install even if problems are detected:
`grub-bios-setup --force {{/dev/sdX}}`
- Install GRUB in a specific directory:
`grub-bios-setup --directory={{/boot/grub}} {{/dev/sdX}}`