carta
grub-setup(8)

grub-setup8

Set up a device to boot using grub

Usage

grub-setup [OPTION ...] DEVICE

Overview

Set up images to boot from DEVICE.

You should not normally run this program directly. Use grub-install instead.

-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

-m, --device-map=FILE

Use FILE as the device map [default=/boot/grub/device.map]

-r, --root-device=DEV

Use DEV as the root device [default=guessed]

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

History

  • Debian 7 (Wheezy): the text shown here
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)

--allow-floppy since Debian 7 (Wheezy); --force since Debian 6.0 (Squeeze); --skip-fs-probe since Debian 6.0 (Squeeze); --usage since Debian 7 (Wheezy); -? since Debian 7 (Wheezy); -a since Debian 7 (Wheezy); -f since Debian 6.0 (Squeeze); -s since Debian 6.0 (Squeeze).

-h until Debian 6.0 (Squeeze).

Reporting bugs

Report bugs to <[email protected]>.

From grub-pc 1.99-27+deb7u3 in Debian 7 (Wheezy). Parsed by carta from the page's man source.