.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH GRUB-MKIMAGE "1" "September 2024" "GRUB 2:2.12-3" "User Commands" .SH NAME grub-mkimage \- make a bootable image of GRUB .SH SYNOPSIS .B grub-mkimage [\fI\,OPTION\/\fR...] [\fI\,OPTION\/\fR]... [\fI\,MODULES\/\fR] .SH DESCRIPTION Make a bootable image of GRUB. .TP \fB\-c\fR, \fB\-\-config\fR=\fI\,FILE\/\fR embed FILE as an early config .TP \fB\-C\fR, \fB\-\-compression=\fR(xz|none|auto) choose the compression to use for core image .TP \fB\-\-disable\-shim\-lock\fR disable shim_lock verifier .TP \fB\-d\fR, \fB\-\-directory\fR=\fI\,DIR\/\fR use images and modules under DIR [default=/usr/lib/grub/] .TP \fB\-D\fR, \fB\-\-dtb\fR=\fI\,FILE\/\fR embed FILE as a device tree (DTB) .TP \fB\-k\fR, \fB\-\-pubkey\fR=\fI\,FILE\/\fR embed FILE as public key for signature checking .TP \fB\-m\fR, \fB\-\-memdisk\fR=\fI\,FILE\/\fR embed FILE as a memdisk image .PP Implies `\-p (memdisk)/boot/grub' and overrides .TP any prefix supplied previously, but the prefix itself can be overridden by later options .TP \fB\-n\fR, \fB\-\-note\fR add NOTE segment for CHRP IEEE1275 .TP \fB\-o\fR, \fB\-\-output\fR=\fI\,FILE\/\fR output a generated image to FILE [default=stdout] .TP \fB\-O\fR, \fB\-\-format\fR=\fI\,FORMAT\/\fR 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 .TP \fB\-p\fR, \fB\-\-prefix\fR=\fI\,DIR\/\fR set prefix directory .TP \fB\-s\fR, \fB\-\-sbat\fR=\fI\,FILE\/\fR SBAT metadata .TP \fB\-v\fR, \fB\-\-verbose\fR print verbose messages. .TP \-?, \fB\-\-help\fR give this help list .TP \fB\-\-usage\fR give a short usage message .TP \fB\-V\fR, \fB\-\-version\fR print program version .PP Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. .SH "REPORTING BUGS" Report bugs to . .SH "SEE ALSO" .BR grub-install (8), .BR grub-mkrescue (1), .BR grub-mknetdir (8) .PP The full documentation for .B grub-mkimage is maintained as a Texinfo manual. If the .B info and .B grub-mkimage programs are properly installed at your site, the command .IP .B info grub-mkimage .PP should give you access to the complete manual.