HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

grub-bios-setup — Set up a device to use GRUB with a BIOS configuration. You should use `grub-install` instead of `gru

Submitted by: @import:tldr-pages··
0
Viewed 0 times
grub-bios-setupcommandusecliwithsetgrubdevice
linux

Problem

How to use the grub-bios-setup command: 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>.

Solution

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>.

Set up a device to boot with GRUB:
grub-bios-setup {{/dev/sdX}}


Install even if problems are detected:
grub-bios-setup {{[-f|--force]}} {{/dev/sdX}}


Install GRUB in a specific directory:
grub-bios-setup {{[-d|--directory]}} {{/boot/grub}} {{/dev/sdX}}

Code Snippets

Set up a device to boot with GRUB

grub-bios-setup {{/dev/sdX}}

Install even if problems are detected

grub-bios-setup {{[-f|--force]}} {{/dev/sdX}}

Install GRUB in a specific directory

grub-bios-setup {{[-d|--directory]}} {{/boot/grub}} {{/dev/sdX}}

Context

tldr-pages: linux/grub-bios-setup

Revisions (0)

No revisions yet.