1GRUB-MKIMAGE(1)                  User Commands                 GRUB-MKIMAGE(1)
2
3
4

NAME

6       grub-mkimage - make a bootable image of GRUB
7

SYNOPSIS

9       grub-mkimage [OPTION...] [OPTION]... [MODULES]
10

DESCRIPTION

12       Make a bootable image of GRUB.
13
14       -c, --config=FILE
15              embed FILE as an early config
16
17       -C, --compression=(xz|none|auto)
18              choose the compression to use for core image
19
20       --disable-shim-lock
21              disable shim_lock verifier
22
23       -d, --directory=DIR
24              use  images  and modules under DIR [default=/usr/lib/grub/<plat‐
25              form>]
26
27       -D, --dtb=FILE
28              embed FILE as a device tree (DTB)
29
30       -k, --pubkey=FILE
31              embed FILE as public key for PGP signature checking
32
33       -m,                              --memdisk=FILE
34              embed FILE as a memdisk image
35
36       Implies `-p (memdisk)/boot/grub' and overrides
37
38       any prefix supplied previously, but the prefix
39              itself can be overridden by later options
40
41       -n, --note
42              add NOTE segment for CHRP IEEE1275
43
44       -o, --output=FILE
45              output a generated image to FILE [default=stdout]
46
47       -O, --format=FORMAT
48              generate an image in FORMAT  available  formats:  i386-coreboot,
49              i386-multiboot,  i386-pc, i386-xen_pvh, i386-pc-pxe, i386-pc-el‐
50              torito,   i386-efi,   i386-ieee1275,   i386-qemu,    x86_64-efi,
51              i386-xen,    x86_64-xen,    mipsel-yeeloong-flash,    mipsel-fu‐
52              loong2f-flash,      mipsel-loongson-elf,       powerpc-ieee1275,
53              sparc64-ieee1275-raw,                   sparc64-ieee1275-cdcore,
54              sparc64-ieee1275-aout,    ia64-efi,    mips-arc,     mipsel-arc,
55              mipsel-qemu_mips-elf,                      mips-qemu_mips-flash,
56              mipsel-qemu_mips-flash, mips-qemu_mips-elf, arm-uboot, arm-core‐
57              boot-vexpress,    arm-coreboot-veyron,    arm-efi,    arm64-efi,
58              riscv32-efi, riscv64-efi
59
60       -p, --prefix=DIR
61              set prefix directory
62
63       -s, --sbat=FILE
64              SBAT metadata
65
66       -S, --appended-signature-size=SIZE
67              Add a note segment reserving SIZE bytes for an  appended  signa‐
68              ture
69
70       -v, --verbose
71              print verbose messages.
72
73       -x, --x509=FILE
74              embed  FILE as an x509 certificate for appended signature check‐
75              ing
76
77       -?, --help
78              give this help list
79
80       --usage
81              give a short usage message
82
83       -V, --version
84              print program version
85
86       Mandatory or optional arguments to long options are also  mandatory  or
87       optional for any corresponding short options.
88

REPORTING BUGS

90       Report bugs to <bug-grub@gnu.org>.
91

SEE ALSO

93       grub-install(8), grub-mkrescue(1), grub-mknetdir(8)
94
95       The full documentation for grub-mkimage is maintained as a Texinfo man‐
96       ual.  If the info and grub-mkimage programs are properly  installed  at
97       your site, the command
98
99              info grub-mkimage
100
101       should give you access to the complete manual.
102
103
104
105GRUB 2.06                        December 2023                 GRUB-MKIMAGE(1)
Impressum