Debian Codegraph @

upstream/debian-trixie/man1/grub-mkimage.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
2 .TH GRUB-MKIMAGE "1" "April 2026" "GRUB 2.12-9+deb13u2" "User Commands"
3 .SH NAME
4 grub-mkimage \- make a bootable image of GRUB
5 .SH SYNOPSIS
6 .B grub-mkimage
7 [\fI\,OPTION\/\fR...] [\fI\,OPTION\/\fR]... [\fI\,MODULES\/\fR]
8 .SH DESCRIPTION
9 Make a bootable image of GRUB.
10 .TP
11 \fB\-c\fR, \fB\-\-config\fR=\fI\,FILE\/\fR
12 embed FILE as an early config
13 .TP
14 \fB\-C\fR, \fB\-\-compression=\fR(xz|none|auto)
15 choose the compression to use for core image
16 .TP
17 \fB\-\-disable\-shim\-lock\fR
18 disable shim_lock verifier
19 .TP
20 \fB\-d\fR, \fB\-\-directory\fR=\fI\,DIR\/\fR
21 use images and modules under DIR
22 [default=/usr/lib/grub/<platform>]
23 .TP
24 \fB\-D\fR, \fB\-\-dtb\fR=\fI\,FILE\/\fR
25 embed FILE as a device tree (DTB)
26 .TP
27 \fB\-k\fR, \fB\-\-pubkey\fR=\fI\,FILE\/\fR
28 embed FILE as public key for signature checking
29 .TP
30 \fB\-m\fR, \fB\-\-memdisk\fR=\fI\,FILE\/\fR
31 embed FILE as a memdisk image
32 .PP
33 Implies `\-p (memdisk)/boot/grub' and overrides
34 .TP
35 any prefix supplied previously, but the prefix
36 itself can be overridden by later options
37 .TP
38 \fB\-n\fR, \fB\-\-note\fR
39 add NOTE segment for CHRP IEEE1275
40 .TP
41 \fB\-o\fR, \fB\-\-output\fR=\fI\,FILE\/\fR
42 output a generated image to FILE [default=stdout]
43 .TP
44 \fB\-O\fR, \fB\-\-format\fR=\fI\,FORMAT\/\fR
45 generate an image in FORMAT
46 available formats: i386\-coreboot, i386\-multiboot,
47 i386\-pc, i386\-xen_pvh, i386\-pc\-pxe,
48 i386\-pc\-eltorito, i386\-efi, i386\-ieee1275,
49 i386\-qemu, x86_64\-efi, i386\-xen, x86_64\-xen,
50 mipsel\-yeeloong\-flash, mipsel\-fuloong2f\-flash,
51 mipsel\-loongson\-elf, powerpc\-ieee1275,
52 sparc64\-ieee1275\-raw, sparc64\-ieee1275\-cdcore,
53 sparc64\-ieee1275\-aout, ia64\-efi, mips\-arc,
54 mipsel\-arc, mipsel\-qemu_mips\-elf,
55 mips\-qemu_mips\-flash, mipsel\-qemu_mips\-flash,
56 mips\-qemu_mips\-elf, arm\-uboot,
57 arm\-coreboot\-vexpress, arm\-coreboot\-veyron,
58 arm\-efi, arm64\-efi, loongarch64\-efi, riscv32\-efi,
59 riscv64\-efi
60 .TP
61 \fB\-p\fR, \fB\-\-prefix\fR=\fI\,DIR\/\fR
62 set prefix directory
63 .TP
64 \fB\-s\fR, \fB\-\-sbat\fR=\fI\,FILE\/\fR
65 SBAT metadata
66 .TP
67 \fB\-v\fR, \fB\-\-verbose\fR
68 print verbose messages.
69 .TP
70 \-?, \fB\-\-help\fR
71 give this help list
72 .TP
73 \fB\-\-usage\fR
74 give a short usage message
75 .TP
76 \fB\-V\fR, \fB\-\-version\fR
77 print program version
78 .PP
79 Mandatory or optional arguments to long options are also mandatory or optional
80 for any corresponding short options.
81 .SH "REPORTING BUGS"
82 Report bugs to <bug\[email protected]>.
83 .SH "SEE ALSO"
84 .BR grub-install (8),
85 .BR grub-mkrescue (1),
86 .BR grub-mknetdir (8)
87 .PP
88 The full documentation for
89 .B grub-mkimage
90 is maintained as a Texinfo manual. If the
91 .B info
92 and
93 .B grub-mkimage
94 programs are properly installed at your site, the command
95 .IP
96 .B info grub-mkimage
97 .PP
98 should give you access to the complete manual.