Available in




grub-install − install GRUB to a device


grub-install [OPTION] install_device


Install GRUB on your drive.
, −−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 instead of the root directory


use FILE as grub−setup


use FILE as grub−mkimage


use FILE as grub−probe


do not probe any floppy drive


probe a device map even if it already exists


install even if problems are detected


disk module to use

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

grub−install copies GRUB images into /boot/grub (or /grub on NetBSD and OpenBSD), and uses grub−setup to install grub into the boot sector.

If the −−root−directory option is used, then grub−install will copy images into the operating system installation rooted at that directory.


Report bugs to <bug−grub [AT] gnu.org>.


blog comments powered by Disqus