grub-mkrescue
make a GRUB rescue image
see also :
grub-mkimage
Synopsis
grub-mkrescue
[OPTION] SOURCE...
add an example, a script, a trick and tips
examples
source
cp grub.cfg isodir/boot/grub/grub.cfg
grub-mkrescue -o myos.iso isodir
rm -rf isodir
source
cp bin/initrd/initrd.img build/iso/initrd
grub-mkrescue -o alphaos.iso build/iso/
qemu-system-i386 alphaos.iso
description
Make GRUB
CD-ROM, disk, pendrive and floppy bootable image.
-h, --help
print this message and exit
-v,
--version
print the version information
and exit
-o,
--output=FILE
save output in FILE
[required]
--modules=MODULES
pre-load specified
modules MODULES
--rom-directory=DIR
save ROM images in DIR
[optional]
--xorriso=FILE
use FILE as xorriso
[optional]
--grub-mkimage=FILE
use FILE as
grub-mkimage
--diet
apply size reducing measures [optional]
xorriso
-as mkisofs -help generates a
bootable rescue image with specified source files, source
directories, or mkisofs options listed by the output of
’grub-mkrescue’
Option
-- switches to native xorriso command
mode.
reporting bugs
Report bugs to <bug-grub[:at:]gnu[:dot:]org>.
Mail xorriso support requests to
<bug-xorriso[:at:]gnu[:dot:]org>.
see also
grub-mkimage
The full
documentation for grub-mkrescue is maintained as a
Texinfo manual. If the info and grub-mkrescue
programs are properly installed at your site, the
command
info
grub-mkrescue
should give you
access to the complete manual.