1GRUB-MKIMAGE(1)             General Commands Manual            GRUB-MKIMAGE(1)
2
3
4

NAME

6       grub-mkimage — Make a bootable GRUB image.
7
8

SYNOPSIS

10       grub-mkimage [-c | --config=FILE] [-C | --compression=(xz,none,auto)]
11                     [-d | --directory=DIR] [-k | --pubkey=FILE]
12                     [-m | --memdisk=FILE] [-n | --note] [-o | --output=FILE]
13                     [-O | --format=FORMAT] [-p | --prefix=DIR]
14                     [-v | --verbose] MODULES
15
16

DESCRIPTION

18       grub-mkimage builds a bootable image of GRUB.
19
20

OPTIONS

22       --config=FILE
23              Embed FILE as the image's initial configuration file.
24
25
26       --compression=(xz,none,auto)
27              Use  one  of xz, none, or auto as the compression method for the
28              core image.
29
30
31       --directory=DIR
32              Use  images  and  modules  from  DIR.   The  default  value   is
33              /usr/lib/grub/<platform>.
34
35
36       --pubkey=FILE
37              Embed the public key FILE for signature checking.
38
39
40       --memdisk=FILE
41              Embed  the  memdisk  image FILE.  If no -p option is also speci‐
42              fied, this implies -p (memdisk)/boot/grub.
43
44
45       --note Add a CHRP NOTE section.  This option is only valid on  IEEE1275
46              platforms.
47
48
49       --output=FILE
50              Write  the  generated  file to FILE.  The default is to write to
51              standard output.
52
53
54       --format=FORMAT
55              Generate an image in the specified FORMAT.  Valid values are:
56
57                  i386-coreboot,   i386-multiboot,    i386-pc,    i386-pc-pxe,
58                  i386-efi,   i386-ieee1275,  i386-qemu,  x86_64-efi,  mipsel-
59                  yeeloong-flash,  mipsel-fuloong2f-flash,   mipself-loongson-
60                  elf,         powerpc-ieee1275,         sparc64-ieee1275-raw,
61                  sparc64-ieee1275-cdcore,  sparc64-ieee1275-aout,   ia64-efi,
62                  mips-arc,  mipsel-arc, mipsel-qemu_mips-elf, mips-qemu_mips-
63                  flash, mipsel-qemu_mips-flash, mips-qemu_mips-elf
64
65
66       --prefix=DIR
67              Set prefix directory.  The default value is /boot/grub.
68
69
70       --verbose
71              Print verbose messages.
72
73
74       MODULES
75              Include MODULES.
76
77

SEE ALSO

79       info grub
80
81
82
83                                Wed Feb 26 2014                GRUB-MKIMAGE(1)
Impressum