GRUB-BIOS-SETUP(8)

πŸ’– grub-bios-setup πŸ’–

ok so bestie, this one lives in the System Administration Utilities manual, section 8 β€” it's grub-bios-setup, and no cap, you're probably never gonna call it yourself, but let's get into it anyway because knowing things is a flex πŸŽ€


✨ NAME ✨

grub-bios-setup β€” set up a device to boot using GRUB


🌸 SYNOPSIS 🌸

grub-bios-setup [OPTION...] DEVICE

πŸ¦‹ DESCRIPTION πŸ¦‹

Set up images to boot from DEVICE.

okay so real talk: you should not normally run this program directly. use grub-install instead. this is giving "backstage crew only" energy, not "main character walks in and runs it" energy. πŸ™ˆ

here's every single flag, and yes we're doing all of them because i love you and i want you to have the full picture:

  • -a, --allow-floppy β€” make the drive also bootable as floppy (default for fdX devices). ⚠️ May break on some BIOSes.
  • -b, --boot-image=FILE β€” use FILE as the boot image [default=boot.img]
  • -c, --core-image=FILE β€” use FILE as the core image [default=core.img]
  • -d, --directory=DIR β€” use GRUB files in the directory DIR [default=/boot/grub]
  • -f, --force β€” install even if problems are detected πŸ’€ (yes, it does what it says. problems? don't care. installing anyway.)
  • -m, --device-map=FILE β€” use FILE as the device map [default=/boot/grub/device.map]
  • --no-rs-codes β€” Do not apply any reed-solomon codes when embedding core.img. This option is only available on x86 BIOS targets. πŸ–₯️
  • -s, --skip-fs-probe β€” do not probe for filesystems in DEVICE
  • -v, --verbose β€” print verbose messages.
  • -?, --help β€” give this help list
  • --usage β€” give a short usage message
  • -V, --version β€” print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

DEVICE must be an OS device (e.g. /dev/sda).


πŸŽ€ REPORTING BUGS πŸŽ€

Report bugs to <bug-grub@gnu.org>.


🌈 SEE ALSO 🌈

The full documentation for grub-bios-setup is maintained as a Texinfo manual. If the info and grub-bios-setup programs are properly installed at your site, the command

info grub-bios-setup

should give you access to the complete manual. πŸ“–βœ¨


ok that's the whole page bestie, you ate that 🫢 this one's from GRUB 2.12-1ubuntu7.3, dated March 2025 β€” go forth and do not run this directly, mwah πŸ’…πŸ’–

πŸ“¦ where this page comes from