grub2: Invoking grub2-mkrescue

1 
1 27 Invoking grub2-mkrescue
1 **************************
1 
1 The program 'grub2-mkrescue' generates a bootable GRUB rescue image
1 (⇒Making a GRUB bootable CD-ROM).
1 
1      grub-mkrescue -o grub.iso
1 
1    All arguments not explicitly listed as 'grub2-mkrescue' options are
1 passed on directly to 'xorriso' in 'mkisofs' emulation mode.  Options
1 passed to 'xorriso' will normally be interpreted as 'mkisofs' options;
1 if the option '--' is used, then anything after that will be interpreted
1 as native 'xorriso' options.
1 
1    Non-option arguments specify additional source directories.  This is
1 commonly used to add extra files to the image:
1 
1      mkdir -p disk/boot/grub
1      (add extra files to 'disk/boot/grub')
1      grub-mkrescue -o grub.iso disk
1 
1    'grub2-mkrescue' accepts the following options:
1 
1 '--help'
1      Print a summary of the command-line options and exit.
1 
1 '--version'
1      Print the version number of GRUB and exit.
1 
1 '-o FILE'
1 '--output=FILE'
1      Save output in FILE.  This "option" is required.
1 
1 '--modules=MODULES'
1      Pre-load the named GRUB modules in the image.  Multiple entries in
1      MODULES should be separated by whitespace (so you will probably
1      need to quote this for your shell).
1 
1 '--rom-directory=DIR'
1      If generating images for the QEMU or Coreboot platforms, copy the
1      resulting 'qemu.img' or 'coreboot.elf' files respectively to the
1      DIR directory as well as including them in the image.
1 
1 '--xorriso=FILE'
1      Use FILE as the 'xorriso' program, rather than the built-in
1      default.
1 
1 '--grub-mkimage=FILE'
1      Use FILE as the 'grub2-mkimage' program, rather than the built-in
1      default.
1