wiki:help-man-info:grub-install-help-eng

Это старая версия документа.


На проверке
Создана командой терминала: $ grub-install –help
Назад к оглавлению

grub-install –help Usage: grub-install [OPTION…] [OPTION] [INSTALL_DEVICE] Install GRUB on your drive.

  1. compress[=no,xz,gz,lzo] compress GRUB files [optional]

  2. d, –directory=DIR use images and modules under DIR

[default=/usr/lib/grub/<platform>]

  1. fonts=FONTS install FONTS [default=unicode]

  2. install-modules=MODULES install only MODULES and their dependencies

[default=all]

  1. k, –pubkey=FILE embed FILE as public key for signature checking
    1. locale-directory=DIR use translations under DIR

[default=/usr/share/locale]

  1. locales=LOCALES install only LOCALES [default=all]

  2. modules=MODULES pre-load specified modules MODULES

  3. themes=THEMES install THEMES [default=starfield]

  4. v, –verbose print verbose messages.
    1. allow-floppy make the drive also bootable as floppy (default

for fdX devices). May break on some BIOSes.

  1. boot-directory=DIR install GRUB images under the directory DIR/grub

instead of the boot/grub directory

  1. bootloader-id=ID the ID of bootloader. This option is only

available on EFI and Macs.

  1. core-compress=xz|none|auto

choose the compression to use for core image

  1. disk-module=MODULE disk module to use (biosdisk or native). This

option is only available on BIOS target.

  1. efi-directory=DIR use DIR as the EFI System Partition root.

  2. force install even if problems are detected

  3. force-file-id use identifier file even if UUID is available

  4. label-bgcolor=COLOR use COLOR for label background

  5. label-color=COLOR use COLOR for label

  6. label-font=FILE use FILE as font for label

  7. macppc-directory=DIR use DIR for PPC MAC install.

  8. no-bootsector do not install bootsector

  9. no-nvram don't update the `boot-device'/`Boot*' NVRAM

variables. This option is only available on EFI

                           and IEEE1275 targets.
    --no-rs-codes          Do not apply any reed-solomon codes when
                           embedding core.img. This option is only available
                           on x86 BIOS targets.
    --no-uefi-secure-boot  do not install an image usable with UEFI Secure
                           Boot, even if the system was currently started
                           using it. This option is only available on EFI.
    --product-version=STRING   use STRING as product version
    --recheck              delete device map if it already exists
    --removable            the installation device is removable. This option
                           is only available on EFI.
-s, --skip-fs-probe        do not probe for filesystems in DEVICE
    --target=TARGET        install GRUB for TARGET platform
                           [default=i386-pc]
    --uefi-secure-boot     install an image usable with UEFI Secure Boot.
                           This option is only available on EFI and if the
                           grub-efi-amd64-signed package is installed.
-?, --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.

INSTALL_DEVICE must be system device filename. grub-install copies GRUB images into boot/grub. On some platforms, it may also install GRUB into the boot sector.

Report bugs to bug-grub@gnu.org.