GRUB-MKSTANDALONE(1)

🌸 NAME 🌸

Okay bestie πŸ’– this is grub-mkstandalone(1) from the User Commands manual β€” the page for making a memdisk-based GRUB image. That's the NAME, and it is literally the whole assignment. ✨

✨ SYNOPSIS ✨

grub-mkstandalone [OPTION...] [OPTION] SOURCE...

πŸ’– DESCRIPTION πŸ’–

Generate a standalone image (containing all modules) in the selected format. It's giving "all modules included, one standalone image, selected format" β€” and honestly? Iconic. πŸ‘‘

πŸ’… OPTIONS πŸ’…

  • --compress=no|xz|gz|lzo β€” compress GRUB files [optional].
  • --disable-shim-lock β€” disable shim_lock verifier.
  • --dtb=FILE β€” embed a specific DTB.
  • -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.
  • --sbat=FILE β€” SBAT metadata.
  • --themes=THEMES β€” install THEMES [default=starfield].
  • -v, --verbose β€” print verbose messages.
  • --core-compress=xz|none|auto β€” choose the compression to use for core image.
  • -o, --output=FILE β€” save output in FILE [required]. Not me pointing at the [required] like it's a warning label β€” bestie, it literally is. πŸ’€
  • -O, --format=FILE β€” generate an image in FORMAT; available formats: i386-coreboot, i386-multiboot, i386-pc, i386-xen_pvh, i386-pc-pxe, i386-pc-eltorito, i386-efi, i386-ieee1275, i386-qemu, x86_64-efi, i386-xen, x86_64-xen, mipsel-yeeloong-flash, mipsel-fuloong2f-flash, mipsel-loongson-elf, powerpc-ieee1275, sparc64-ieee1275-raw, sparc64-ieee1275-cdcore, sparc64-ieee1275-aout, ia64-efi, mips-arc, mipsel-arc, mipsel-qemu_mips-elf, mips-qemu_mips-flash, mipsel-qemu_mips-flash, mips-qemu_mips-elf, arm-uboot, arm-coreboot-vexpress, arm-coreboot-veyron, arm-efi, arm64-efi, loongarch64-efi, riscv32-efi, riscv64-efi.
  • -?, --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. iykyk β€” same energy for the short versions. πŸ’…

Also: Graft point syntax (E.g. /boot/grub/grub.cfg=./grub.cfg) is accepted πŸ¦‹.


πŸ› REPORTING BUGS πŸ›

Report bugs to <bug-grub@gnu.org>. Do it, bestie β€” the maintainers want the tea. 🫢

πŸ‘€ SEE ALSO πŸ‘€

grub-mkimage(1)

The full documentation for grub-mkstandalone is maintained as a Texinfo manual. If the info and grub-mkstandalone programs are properly installed at your site, the command

info grub-mkstandalone

should give you access to the complete manual.


Okay that's the whole page, bestie β€” footer energy and all. This lil manual page is from GRUB 2.12-1ubuntu7.3, dated March 2025, and its footer says GRUB-MKSTANDALONE(1). Stay slay, read your manpages, and may your standalone image contain every module it needs. Periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from