summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man1/grub2-mkimage.1
blob: 08b156fae3e10826e1d2a6e0225cca1215c03703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.49.3.
.TH GRUB-MKIMAGE "1" "May 2024" "GRUB2 2.12" "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/share/grub2/<platform>]
.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 PGP 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\-S\fR, \fB\-\-appended\-signature\-size\fR=\fI\,SIZE\/\fR
Add a note segment reserving SIZE bytes for an
appended signature
.TP
\fB\-v\fR, \fB\-\-verbose\fR
print verbose messages.
.TP
\fB\-x\fR, \fB\-\-x509\fR=\fI\,FILE\/\fR
embed FILE as an x509 certificate for appended
signature checking
.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 <bug\-grub@gnu.org>.
.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.