DOKK / manpages / debian 12 / grub-common / grub-mkimage.1.en
GRUB-MKIMAGE(1) User Commands GRUB-MKIMAGE(1)

grub-mkimage - make a bootable image of GRUB

grub-mkimage [OPTION...] [OPTION]... [MODULES]

Make a bootable image of GRUB.

embed FILE as an early config
choose the compression to use for core image
use images and modules under DIR [default=/usr/lib/grub/<platform>]
disable shim_lock verifier
embed FILE as a device tree (DTB)
embed FILE as public key for signature checking
embed FILE as a memdisk image

Implies `-p (memdisk)/boot/grub' and overrides

itself can be overridden by later options
add NOTE segment for CHRP IEEE1275
output a generated image to FILE [default=stdout]
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, riscv32-efi, riscv64-efi
set prefix directory
SBAT metadata
print verbose messages.
-?, --help
give this help list
give a short usage message
print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

Report bugs to <bug-grub@gnu.org>.

grub-install(8), grub-mkrescue(1), grub-mknetdir(8)

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

info grub-mkimage

should give you access to the complete manual.

October 2023 GRUB 2.06-13+deb12u1