man-pages/man1/grub-mkimage.1.html
2021-03-31 01:06:50 +01:00

129 lines
3.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GRUB-MKIMAGE</TITLE>
</HEAD><BODY>
<H1>GRUB-MKIMAGE</H1>
Section: User Commands (1)<BR>Updated: February 2021<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
grub-mkimage - make a bootable image of GRUB
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>grub-mkimage</B>
[<I>,OPTION/</I>...] [<I>,OPTION/</I>]... [<I>,MODULES/</I>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Make a bootable image of GRUB.
<DL COMPACT>
<DT id="1"><B>-c</B>, <B>--config</B>=<I>,FILE/</I><DD>
embed FILE as an early config
<DT id="2"><B>-C</B>, <B>--compression=</B>(xz|none|auto)<DD>
choose the compression to use for core image
<DT id="3"><B>-d</B>, <B>--directory</B>=<I>,DIR/</I><DD>
use images and modules under DIR
[default=/usr/lib/grub/&lt;platform&gt;]
<DT id="4"><B>-D</B>, <B>--dtb</B>=<I>,FILE/</I><DD>
embed FILE as a device tree (DTB)
<DT id="5"><B>-k</B>, <B>--pubkey</B>=<I>,FILE/</I><DD>
embed FILE as public key for signature checking
<DT id="6"><B>-m</B>, <B>--memdisk</B>=<I>,FILE/</I><DD>
embed FILE as a memdisk image
</DL>
<P>
Implies `-p (memdisk)/boot/grub' and overrides
<DL COMPACT>
<DT id="7">any prefix supplied previously, but the prefix<DD>
itself can be overridden by later options
<DT id="8"><B>-n</B>, <B>--note</B><DD>
add NOTE segment for CHRP IEEE1275
<DT id="9"><B>-o</B>, <B>--output</B>=<I>,FILE/</I><DD>
output a generated image to FILE [default=stdout]
<DT id="10"><B>-O</B>, <B>--format</B>=<I>,FORMAT/</I><DD>
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, riscv32-efi, riscv64-efi
<DT id="11"><B>-p</B>, <B>--prefix</B>=<I>,DIR/</I><DD>
set prefix directory
<DT id="12"><B>-v</B>, <B>--verbose</B><DD>
print verbose messages.
<DT id="13">-?, <B>--help</B><DD>
give this help list
<DT id="14"><B>--usage</B><DD>
give a short usage message
<DT id="15"><B>-V</B>, <B>--version</B><DD>
print program version
</DL>
<P>
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
<A NAME="lbAE">&nbsp;</A>
<H2>REPORTING BUGS</H2>
Report bugs to &lt;<A HREF="mailto:bug-grub@gnu.org">bug-grub@gnu.org</A>&gt;.
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?8+grub-install">grub-install</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?1+grub-mkrescue">grub-mkrescue</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?8+grub-mknetdir">grub-mknetdir</A></B>(8)
<P>
The full documentation for
<B>grub-mkimage</B>
is maintained as a Texinfo manual. If the
<B>info</B>
and
<B>grub-mkimage</B>
programs are properly installed at your site, the command
<DL COMPACT>
<DT id="16"><DD>
<B>info grub-mkimage</B>
</DL>
<P>
should give you access to the complete manual.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="17"><A HREF="#lbAB">NAME</A><DD>
<DT id="18"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="19"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="20"><A HREF="#lbAE">REPORTING BUGS</A><DD>
<DT id="21"><A HREF="#lbAF">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:15 GMT, March 31, 2021
</BODY>
</HTML>