Debian Codegraph @

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

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