grub-mkimage − make a bootable image of GRUB


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


Make a bootable image of GRUB.
, −−config=FILE

embed FILE as an early config

−C, −−compression=(xz|none|auto)

choose the compression to use for core image

−d, −−directory=DIR

use images and modules under DIR [default=/usr/lib/grub2/<platform>]

−k, −−pubkey=FILE

embed FILE as public key for signature checking

−m, −−memdisk=FILE

embed FILE as a memdisk image

Implies ‘−p (memdisk)/boot/grub’ and overrides
any prefix supplied previously, but the prefix

itself can be overridden by later options

−n, −−note

add NOTE segment for CHRP IEEE1275

−o, −−output=FILE

output a generated image to FILE [default=stdout]

−O, −−format=FORMAT

generate an image in FORMAT available formats: i386−coreboot, i386−multiboot, i386−pc, 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−efi, arm64−efi

−p, −−prefix=DIR

set prefix directory [default=/boot/grub2]

−v, −−verbose

print verbose messages.

−?, −−help

give this help list


give a short usage message

−V, −−version

print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.


Report bugs to <bug−>.


grub-install(8), grub-mkrescue(1), grub-mknetdir(8)

The full documentation for grub-mkimage is maintained as a Texinfo manual. If the info and grub-mkimage programs are properly installed at your site, the command

info grub-mkimage

should give you access to the complete manual.


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.

Free Software

Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.

Free Books

The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.