grub-install - install GRUB to a device


grub-install [OPTION] [install_device]


Install GRUB on your drive.

-h, --help
print this message and exit

-v, --version
print the version information and exit

pre-load specified modules MODULES

install GRUB images under the directory DIR/grub instead of the /boot/grub directory

use FILE as grub-setup

use FILE as grub-mkimage

use FILE as grub-mkrelpath

--grub-mkdevicemap=FILE use FILE as grub-mkdevicemap

use FILE as grub-probe

do not probe any floppy drive

Make the drive also bootable as floppy (default for fdX devices). May break on some BIOSes.

probe a device map even if it already exists

install even if problems are detected

don't update the boot-device NVRAM variable

INSTALL_DEVICE can be a GRUB device name or a system device filename.

grub-install copies GRUB images into /boot/grub, and uses grub-setup to install grub into the boot sector.


Report bugs to <>.


grub-mkconfig(8), grub-mkimage(1), grub-setup(8), grub-mkrescue(1)

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

info grub-install

should give you access to the complete manual.