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
108
109
110
111
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.5.
.TH GRUB-MKSTANDALONE "1" "March 2024" "grub-mkstandalone (GRUB2) 2.12" "User Commands"
.SH NAME
grub-mkstandalone \- make a memdisk-based GRUB image
.SH SYNOPSIS
.B grub-mkstandalone
[\fI\,OPTION\/\fR...] [\fI\,OPTION\/\fR] \fI\,SOURCE\/\fR...
.SH DESCRIPTION
Generate a standalone image (containing all modules) in the selected format
.TP
\fB\-\-appended\-signature\-size\fR=\fI\,SIZE\/\fR
Add a note segment reserving SIZE bytes for an
appended signature
.TP
\fB\-\-compress\fR=\fI\,no\/\fR|xz|gz|lzo
compress GRUB files [optional]
.TP
\fB\-\-disable\-shim\-lock\fR
disable shim_lock verifier
.TP
\fB\-\-dtb\fR=\fI\,FILE\/\fR
embed a specific DTB
.TP
\fB\-d\fR, \fB\-\-directory\fR=\fI\,DIR\/\fR
use images and modules under DIR
[default=/usr/share/grub2/<platform>]
.TP
\fB\-\-fonts\fR=\fI\,FONTS\/\fR
install FONTS [default=unicode]
.TP
\fB\-\-install\-modules\fR=\fI\,MODULES\/\fR
install only MODULES and their dependencies
[default=all]
.TP
\fB\-k\fR, \fB\-\-pubkey\fR=\fI\,FILE\/\fR
embed FILE as public key for signature checking
.TP
\fB\-\-locale\-directory\fR=\fI\,DIR\/\fR use translations under DIR
[default=/usr/share/locale]
.TP
\fB\-\-locales\fR=\fI\,LOCALES\/\fR
install only LOCALES [default=all]
.TP
\fB\-\-modules\fR=\fI\,MODULES\/\fR
pre\-load specified modules MODULES
.TP
\fB\-\-sbat\fR=\fI\,FILE\/\fR
SBAT metadata
.TP
\fB\-\-themes\fR=\fI\,THEMES\/\fR
install THEMES [default=starfield]
.TP
\fB\-v\fR, \fB\-\-verbose\fR
print verbose messages.
.TP
\fB\-x\fR, \fB\-\-x509key\fR=\fI\,FILE\/\fR
embed FILE as an x509 certificate for signature
checking
.TP
\fB\-\-core\-compress\fR=\fI\,xz\/\fR|none|auto
choose the compression to use for core image
.TP
\fB\-o\fR, \fB\-\-output\fR=\fI\,FILE\/\fR
save output in FILE [required]
.TP
\fB\-O\fR, \fB\-\-format\fR=\fI\,FILE\/\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\-\-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.
.PP
Graft point syntax (E.g. \fI\,/boot/grub/grub\/\fP.cfg=./grub.cfg) is accepted
.SH "REPORTING BUGS"
Report bugs to <bug\-grub@gnu.org>.
.SH "SEE ALSO"
.BR grub-mkimage (1)
.PP
The full documentation for
.B grub-mkstandalone
is maintained as a Texinfo manual. If the
.B info
and
.B grub-mkstandalone
programs are properly installed at your site, the command
.IP
.B info grub-mkstandalone
.PP
should give you access to the complete manual.
|