Grub v2 manual
The pages contributed here (FranklinPiat/*) were an attempt to write some documentation for Grub2. This documentation isn't updated anymore (since grub2-1.96+20080203 approximately) |
Todo:
The list of modules is specified with [MODULES]...
(8)GRUB-MKIMAGE - Make a bootable image of GRUB.
SYNOPSIS
grub-mkimage [OPTION]... [MODULES]
DESCRIPTION
grub-mkimage makes a bootable image of GRUB, compressed with lzo [usually named core.img]. That image is typically copied on the first sectors of the disk.
grub-mkimage is usually invoked by (8)grub-install.
-d, --directory=DIR
- Use images and modules under DIR [default=/usr/lib/grub/i386-pc/ or similar, depending on cpu and platform].
-m, --memdisk=FILE Embed FILE as a memdisk image.
Specifies a .tar file (not compressed) that should be included in the core.img. Therefore you can include arbitrary file in core.img (especially grub.cfg file, but any small file can be included).
-p, --prefix=DIR
- Set grub_prefix directory [default=/boot/grub or (/grub on NetBSD and OpenBSD)]
-o, --output=FILE
- Output a generated image to FILE [default=stdout]
-h, --help
- Print this message and exit
-V, --version
- Print the version information and exit
-v, --verbose
- Print verbose messages.
AUTHOR
Program Written by Yoshinori K. Okuji, Robert Millan, Marco Gerards and others (see AUTHORS file).
Manpage Written by Franklin Piat.
BUGS
Report bugs to <bug-grub@gnu.org>.
COPYRIGHT
Copyright © 2008 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
grub2-1.96+20080203 |
January 2008 |
(8)GRUB-MKIMAGE |
LICENSE |
This page is dual licensed under GPL + GFDL. |
.