Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

grub2-install(1) [centos man page]

GRUB-INSTALL(1) 					      General Commands Manual						   GRUB-INSTALL(1)

NAME
grub-install -- Install GRUB on a device. SYNOPSIS
grub-install [--modules=MODULES] [--install-modules=MODULES] [--themes=THEMES] [--fonts=FONTS] [--locales=LOCALES] [--compress[=no,xz,gz,lzo]] [-d | --directory=DIR] [--grub-mkimage=FILE] [--boot-directory=DIR] [--target=TARGET] [--grub-setup=FILE] [--grub-mkrelpath=FILE] [--grub-probe=FILE] [--allow-floppy] [--recheck] [--force] [--force-file-id] [--disk-module=MODULE] [--no-nvram] [--removable] [--bootloader-id=ID] [--efi-directory=DIR] INSTALL_DEVICE DESCRIPTION
grub-install installs GRUB onto a device. This includes copying GRUB images into the target directory (generally /boot/grub), and on some platforms may also include installing GRUB onto a boot sector. OPTIONS
--modules=MODULES Pre-load modules specified by MODULES. --install-modules=MODULES Install only MODULES and their dependencies. The default is to install all available modules. --themes=THEMES Install THEMES. The default is to install the starfield theme, if available. --fonts=FONTS Install FONTS. The default is to install the unicode font. --locales=LOCALES Install only locales listed in LOCALES. The default is to install all available locales. --compress=no,xz,gz,lzo Compress GRUB files using the specified compression algorithm. --directory=DIR Use images and modules in DIR. --grub-mkimage=FILE Use FILE as grub-mkimage. The default is /usr/bin/grub-mkimage. --boot-directory=DIR Use DIR as the boot directory. The default is /boot. GRUB will put its files in a subdirectory of this directory named grub. --target=TARGET Install GRUB for TARGET platform. The default is the platform grub-install is running on. --grub-setup=FILE Use FILE as grub-setup. The default is /usr/bin/grub-setup. --grub-mkrelpath=FILE Use FILE as grub-mkrelpath. The default is /usr/bin/grub-mkrelpath. --grub-probe=FILE Use FILE as grub-probe. The default is /usr/bin/grub-mkrelpath. --allow-floppy Make the device also bootable as a floppy. This option is the default for /dev/fdX devices. Some BIOSes will not boot images cre- ated with this option. --recheck Delete any existing device map and create a new one if necessary. --force Install even if problems are detected. --force-file-id Use identifier file even if UUID is available. --disk-module=MODULE Use MODULE for disk access. This allows you to manually specify either biosdisk or native disk access. This option is only avail- able on the BIOS target platform. --no-nvram Do not update the boot-device NVRAM variable. This option is only available on IEEE1275 target platforms. --removable Treat the target device as if it is removeable. This option is only available on the EFI target platform. --bootloader-id=ID Use ID as the bootloader ID. This opption is only available on the EFI target platform. --efi-directory=DIR Use DIR as the EFI System Partition root. This opption is only available on the EFI ta rget platform. INSTALL_DEVICE Install GRUB to the block device INSTALL_DEVICE. SEE ALSO
info grub Wed Feb 26 2014 GRUB-INSTALL(1)

Check Out this Related Man Page

GRUB-MKNETDIR(1)						   User Commands						  GRUB-MKNETDIR(1)

NAME
grub-mknetdir - prepare a GRUB netboot directory. SYNOPSIS
grub-mknetdir [OPTION...] DESCRIPTION
--compress=no|xz|gz|lzo compress GRUB files [optional] -d, --directory=DIR use images and modules under DIR [default=/usr/lib/grub/<platform>] --fonts=FONTS install FONTS [default=unicode] --install-modules=MODULES install only MODULES and their dependencies [default=all] -k, --pubkey=FILE embed FILE as public key for signature checking --locale-directory=DIR use translations under DIR [default=/usr/share/locale] --locales=LOCALES install only LOCALES [default=all] --modules=MODULES pre-load specified modules MODULES --themes=THEMES install THEMES [default=starfield] -v, --verbose print verbose messages. --core-compress=xz|none|auto choose the compression to use for core image --net-directory=DIR root directory of TFTP server --subdir=DIR relative subdirectory on network server -?, --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. Prepares GRUB network boot images at net_directory/subdir assuming net_directory being TFTP root. REPORTING BUGS
Report bugs to <bug-grub@gnu.org>. SEE ALSO
grub-mkimage(1) The full documentation for grub-mknetdir is maintained as a Texinfo manual. If the info and grub-mknetdir programs are properly installed at your site, the command info grub-mknetdir should give you access to the complete manual. grub-mknetdir (GRUB) 2.02-2ubuntu8.3 July 2018 GRUB-MKNETDIR(1)
Man Page