{"id":3818,"date":"2022-12-20T17:20:09","date_gmt":"2022-12-20T20:20:09","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/grub-install-man8\/"},"modified":"2022-12-20T17:20:09","modified_gmt":"2022-12-20T20:20:09","slug":"grub-install-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/grub-install-man8\/","title":{"rendered":"GRUB-INSTALL (man8)"},"content":{"rendered":"<h1 align=\"center\">GRUB-INSTALL<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>grub-install<\/b> \u2014 Install GRUB on a device.<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>grub-install<\/b> [&#8211;modules=<i>MODULES<\/i>] [&#8211;install-modules=<i>MODULES<\/i>]<\/p>\n<p style=\"margin-left:32%;\">[&#8211;themes=<i>THEMES<\/i>] [&#8211;fonts=<i>FONTS<\/i>] [&#8211;locales=<i>LOCALES<\/i>] <br \/> [&#8211;compress[=<i>no<\/i>,<i>xz<\/i>,<i>gz<\/i>,<i>lzo<\/i>]] [-d | &#8211;directory=<i>DIR<\/i>] <br \/> [&#8211;grub-mkimage=<i>FILE<\/i>] [&#8211;boot-directory=<i>DIR<\/i>] <br \/> [&#8211;target=<i>TARGET<\/i>] [&#8211;grub-setup=<i>FILE<\/i>] <br \/> [&#8211;grub-mkrelpath=<i>FILE<\/i>] [&#8211;grub-probe=<i>FILE<\/i>] <br \/> [&#8211;allow-floppy] [&#8211;recheck] [&#8211;force] [&#8211;force-file-id] <br \/> [&#8211;disk-module=<i>MODULE<\/i>] [&#8211;no-nvram] [&#8211;removable] <br \/> [&#8211;bootloader-id=<i>ID<\/i>] [&#8211;efi-directory=<i>DIR<\/i>] <i>INSTALL_DEVICE<\/i><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><b>grub-install<\/b><\/i> installs GRUB onto a device. This includes copying GRUB images into the target directory (generally <i>\/boot\/grub<\/i>), and on some platforms may also include installing GRUB onto a boot sector.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>&#8211;modules<\/b>=<i>MODULES<\/i><\/p>\n<p style=\"margin-left:22%;\">Pre-load modules specified by <i>MODULES<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;install-modules<\/b>=<i>MODULES<\/i><\/p>\n<p style=\"margin-left:22%;\">Install only <i>MODULES<\/i> and their dependencies. The default is to install all available modules.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;themes<\/b>=<i>THEMES<\/i><\/p>\n<p style=\"margin-left:22%;\">Install <i>THEMES<\/i>. The default is to install the <i>starfield<\/i> theme, if available.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;fonts<\/b>=<i>FONTS<\/i><\/p>\n<p style=\"margin-left:22%;\">Install <i>FONTS<\/i>. The default is to install the <i>unicode<\/i> font.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;locales<\/b>=<i>LOCALES<\/i><\/p>\n<p style=\"margin-left:22%;\">Install only locales listed in <i>LOCALES<\/i>. The default is to install all available locales.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;compress<\/b>=<i>no<\/i>,<i>xz<\/i>,<i>gz<\/i>,<i>lzo<\/i><\/p>\n<p style=\"margin-left:22%;\">Compress GRUB files using the specified compression algorithm.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;directory<\/b>=<i>DIR<\/i><\/p>\n<p style=\"margin-left:22%;\">Use images and modules in <i>DIR<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;grub-mkimage<\/b>=<i>FILE<\/i><\/p>\n<p style=\"margin-left:22%;\">Use <i>FILE<\/i> as <b>grub-mkimage<\/b>. The default is <i>\/usr\/bin\/grub-mkimage<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;boot-directory<\/b>=<i>DIR<\/i><\/p>\n<p style=\"margin-left:22%;\">Use <i>DIR<\/i> as the boot directory. The default is <i>\/boot<\/i>. GRUB will put its files in a subdirectory of this directory named <i>grub<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;target<\/b>=<i>TARGET<\/i><\/p>\n<p style=\"margin-left:22%;\">Install GRUB for <i>TARGET<\/i> platform. The default is the platform <b>grub-install<\/b> is running on.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;grub-setup<\/b>=<i>FILE<\/i><\/p>\n<p style=\"margin-left:22%;\">Use <i>FILE<\/i> as <b>grub-setup<\/b>. The default is <i>\/usr\/bin\/grub-setup<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;grub-mkrelpath<\/b>=<i>FILE<\/i><\/p>\n<p style=\"margin-left:22%;\">Use <i>FILE<\/i> as <b>grub-mkrelpath<\/b>. The default is <i>\/usr\/bin\/grub-mkrelpath<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;grub-probe<\/b>=<i>FILE<\/i><\/p>\n<p style=\"margin-left:22%;\">Use <i>FILE<\/i> as <b>grub-probe<\/b>. The default is <i>\/usr\/bin\/grub-mkrelpath<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;allow-floppy<\/b><\/p>\n<p style=\"margin-left:22%;\">Make the device also bootable as a floppy. This option is the default for \/dev\/fdX devices. Some BIOSes will not boot images created with this option.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;recheck<\/b><\/p>\n<p style=\"margin-left:22%;\">Delete any existing device map and create a new one if necessary.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;force<\/b><\/p>\n<p style=\"margin-left:22%;\">Install even if problems are detected.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;force-file-id<\/b><\/p>\n<p style=\"margin-left:22%;\">Use identifier file even if UUID is available.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;disk-module<\/b>=<i>MODULE<\/i><\/p>\n<p style=\"margin-left:22%;\">Use <i>MODULE<\/i> for disk access. This allows you to manually specify either <i>biosdisk<\/i> or <i>native<\/i> disk access. This option is only available on the BIOS target platform.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;no-nvram<\/b><\/p>\n<p style=\"margin-left:22%;\">Do not update the <i>boot-device<\/i> NVRAM variable. This option is only available on IEEE1275 target platforms.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;removable<\/b><\/p>\n<p style=\"margin-left:22%;\">Treat the target device as if it is removeable. This option is only available on the EFI target platform.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;bootloader-id<\/b>=<i>ID<\/i><\/p>\n<p style=\"margin-left:22%;\">Use <i>ID<\/i> as the bootloader ID. This option is only available on the EFI target platform.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;efi-directory<\/b>=<i>DIR<\/i><\/p>\n<p style=\"margin-left:22%;\">Use <i>DIR<\/i> as the EFI System Partition root. This option is only available on the EFI target platform.<\/p>\n<p style=\"margin-left:11%;\"><i>INSTALL_DEVICE<\/i><\/p>\n<p style=\"margin-left:22%;\">Install GRUB to the block device <i>INSTALL_DEVICE<\/i>.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>info grub<\/b><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  grub-install \u2014 Install GRUB on a device. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,914,4],"class_list":["post-3818","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-grub2-install","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3818"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3818\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}