GRUB-INSTALL(8)
๐ GRUB-INSTALL(8) ๐
okay bestie, gather round, because this is the System Administration Utilities page for grub-install, and it is genuinely one of the most powerful little gremlins in your whole system. let's get into it ๐ซถ
โจ NAME โจ
grub-install โ install GRUB to a device
โจ SYNOPSIS โจ
grub-install [OPTION...] [OPTION] [INSTALL_DEVICE]
โจ DESCRIPTION โจ
Install GRUB on your drive. that's it. that's the whole vibe. ๐
ngl this is the moment where your bootloader gets a permanent home, so read the flags before you yeet them at your disk, fr fr.
--appended-signature-size=SIZEโ add a note segment that reservesSIZEbytes for an appended signature โ๏ธ--compress=no|xz|gz|lzoโ compress GRUB files [optional]--disable-cliโ disabled command line interface access ๐ โโ๏ธ--disable-shim-lockโ disable the shim_lock verifier--dtb=FILEโ embed a specific DTB-d,--directory=DIRโ use images and modules underDIR[default=/usr/lib/grub/<platform>]--fonts=FONTSโ installFONTS[default=unicode]--install-modules=MODULESโ install onlyMODULESand their dependencies [default=all]-k,--pubkey=FILEโ embedFILEas public key for signature checking ๐--locale-directory=DIRโ use translations underDIR[default=/usr/share/locale]--locales=LOCALESโ install onlyLOCALES[default=all]--modules=MODULESโ pre-load specified modulesMODULES--sbat=FILEโ SBAT metadata--themes=THEMESโ installTHEMES[default=starfield] ๐ (starfield is iconic, no notes)-v,--verboseโ print verbose messages.-x,--x509key=FILEโ embedFILEas an x509 certificate for appended signature checking--allow-floppyโ make the drive also bootable as floppy (default forfdXdevices). May break on some BIOSes. โ ๏ธ--boot-directory=DIRโ install GRUB images under the directoryDIR/grubinstead of theboot/grubdirectory--bootloader-id=IDโ the ID of bootloader. This option is only available on EFI and Macs.--core-compress=xz|none|autoโ choose the compression to use for core image--disk-module=MODULEโ disk module to use (biosdiskornative). This option is only available on BIOS target.--efi-directory=DIRโ useDIRas the EFI System Partition root.--forceโ install even if problems are detected ๐ค--force-file-idโ use identifier file even if UUID is available--label-bgcolor=COLORโ useCOLORfor label background ๐จ--label-color=COLORโ useCOLORfor label--label-font=FILEโ useFILEas font for label--macppc-directory=DIRโ useDIRfor PPC MAC install.--no-bootsectorโ do not install bootsector--no-extra-removableโ Do not install bootloader code to the removable media path. This option is only available on EFI.--no-nvramโ don't update theboot-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 embeddingcore.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โ useSTRINGas 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 inDEVICE--target=TARGETโ install GRUB forTARGETplatform [default=i386-pc]; available targets:arm-coreboot,arm-efi,arm-uboot,arm64-efi,i386-coreboot,i386-efi,i386-ieee1275,i386-multiboot,i386-pc,i386-qemu,i386-xen,i386-xen_pvh,ia64-efi,loongarch64-efi,mips-arc,mips-qemu_mips,mipsel-arc,mipsel-loongson,mipsel-qemu_mips,powerpc-ieee1275,riscv32-efi,riscv64-efi,sparc64-ieee1275,x86_64-efi,x86_64-xen--uefi-secure-bootโ install an image usable with UEFI Secure Boot. This option is only available on EFI and if thegrub-efi-amd64-signedpackage 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. ๐ฆ
๐ REPORTING BUGS ๐
Report bugs to <bug-grub@gnu.org>.
bestie if something's cursed, tell the maintainers, don't just sit there screaming at your terminal (we've all been there tho ๐ญ)
๐ SEE ALSO ๐
grub-mkconfig(8), grub-mkimage(1), grub-mkrescue(1)
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. ๐โจ
and that's the whole page, bestie!! this is GRUB 2.14-2ubuntu3, dated July 2026, and honestly? go forth and install your bootloader with main character energy. you got this. periodt ๐ ๐
๐ฆ where this page comes from
- ubuntu stonking: grub2-common 2.14-2ubuntu3 ยท GPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms