NAME


grub-install - install GRUB on your drive

SYNOPSIS


grub-install [OPTION] install_device

DESCRIPTION


Install GRUB on your drive.
-h, --help print this message and exit
-v, --version
 print the version information and exit
--root-directory=DIR
 install GRUB images under the directory DIR instead of the root directory
--grub-shell=FILE
 use FILE as the grub shell
--no-floppy
 do not probe any floppy drive
--force-lba
 force GRUB to use LBA mode even for a buggy BIOS
--recheck
 probe a device map even if it already exists
INSTALL_DEVICE can be a GRUB device name or a system device filename.

grub-install copies GRUB images into the DIR/boot directory specfied by --root-directory, and uses the grub shell to install grub into the boot sector.

The grub source distribution carries this script to ease the installation of grub as a boot loader. In Suse Linux however, grub installation is much better handled by Yast; use of this script is generally discouraged and therefore unsupported. Consequently, the script has been renamed to grub-install.unsupported.

In order to (re-)install grub for the currently running system, simply use Yast. For an installation aiming at a differing system, the crafting of an appropriate device.map and grub shell script is strongly advised, e.g. "grub --batch --device-map=target-device.map < target-grub.conf"

SEE ALSO


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.

openSUSE Logo

Contents