Grub v2 manual
The pages contributed here (FranklinPiat/*) were an attempt to write some documentation for Grub2. This documentation isn't updated anymore (since grub2-1.96+20080203 approximately) |
TODO:
- rephrase description !
- --modules : how to specify multiple modules (which delimiter?)
(8)GRUB-INSTALL - Install GRUB on your drive.
SYNOPSIS
grub-install [OPTION] INSTALL_DEVICE
DESCRIPTION
grub-install installs Grub bootloader on the specified INSTALL_DEVICE drive (which can be a GRUB device name or a system device filename).
grub-install copies GRUB images into the DIR/boot directory specified by --root-directory (default is "/"), and uses grub-setup to install grub into the boot sector. note : on NetBSD and OpenBSD hosts, the images are installed in DIR/grub, since /boot is used for the boot block.
- create ${root-dir}/boot/grub directory
- copy .mod, .lst and .img files to /boot/grub/
invoke grub_probe to detect required partmap (pc partition table, disklabel...) and abstraction (lvm, raid) modules.
invoke grub_mkimage to build core.img
invoke grub_setup to actually install the grub bootloader.
--modules=MODULES
- Pre-load specified modules MODULES
--root-directory=DIR
- Install GRUB images under the directory DIR instead of the root directory
--grub-setup=FILE
- Use FILE as grub-setup
--grub-mkimage=FILE
- Use FILE as grub-mkimage
--grub-mkdevicemap=FILE
- Use FILE as grub-mkdevicemap
--grub-probe=FILE
- Use FILE as grub-probe
--no-floppy
- Do not probe any floppy drive.
--recheck
- Probe a device map even if it already exists
-h, --help
- Print this message and exit
-v, --version
- Print the version information and exit
COMPATIBILITY
grub-install is available on PowerPC/Ieee1275, i386/PC and i386/EFI.
AUTHOR
Program written by Yoshinori K. Okuji, Robert Millan, Marco Gerards and others (see AUTHORS file)
Manpage written by Franklin Piat
BUGS
Report bugs to <bug-grub@gnu.org>.
COPYRIGHT
Copyright © 2008 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
grub2-1.96+20080203 |
January 2008 |
(8)GRUB-INSTALL |
LICENSE |
This page is dual licensed under GPL + GFDL. |