OS Manuals

/usr/bin/grub-mkrescue

the grand unified bootloader for uefi

From grub-efi 2.16-r1 (enterprise-packages), captured 2026-11-08 by running grub-mkrescue --help (exit 0). permalink

Usage: grub-mkrescue [OPTION...] [OPTION] SOURCE...
Make GRUB CD-ROM, disk, pendrive and floppy bootable image.

      --appended-signature-size=SIZE
                             Add a note segment reserving SIZE bytes for an
                             appended signature
      --compress=no|xz|gz|lzo   compress GRUB files [optional]
      --disable-cli          disabled command line interface access
      --disable-shim-lock    disable shim_lock verifier
      --dtb=FILE             embed a specific DTB
  -d, --directory=DIR        use images and modules under DIR
                             [default=/usr/lib/grub/<platform>]
      --fonts=FONTS          install FONTS [default=unicode]
      --install-modules=MODULES   install only MODULES and their dependencies
                             [default=all]
  -k, --pubkey=FILE          embed FILE as public key for signature checking
      --locale-directory=DIR use translations under DIR
                             [default=/usr/share/locale]
      --locales=LOCALES      install only LOCALES [default=all]
      --modules=MODULES      pre-load specified modules MODULES
      --sbat=FILE            SBAT metadata
      --themes=THEMES        install THEMES [default=starfield]
  -v, --verbose              print verbose messages.
  -x, --x509key=FILE         embed FILE as an x509 certificate for appended
                             signature checking
      --arcs-boot            enable ARCS (big-endian mips machines, mostly
                             SGI) boot. Disables HFS+, APM, sparc64 and boot
                             as disk image for i386-pc
      --core-compress=xz|none|auto
                             choose the compression to use for core image
      --label-bgcolor=COLOR  use COLOR for label background
      --label-color=COLOR    use COLOR for label
      --label-font=FILE      use FILE as font for label
  -o, --output=FILE          save output in FILE [required]
      --product-name=STRING  use STRING as product name
      --product-version=STRING   use STRING as product version
      --rom-directory=DIR    save ROM images in DIR [optional]
      --sparc-boot           enable sparc boot. Disables HFS+, APM, ARCS and
                             boot as disk image for i386-pc
      --xorriso=FILE         use FILE as xorriso [optional]
  -?, --help                 give this help list
      --usage                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.

Generates a bootable CD/USB/floppy image.  Arguments other than options to
this program are passed to xorriso, and indicate source files, source
directories, or any of the mkisofs options listed by the output of `xorriso
-as mkisofs -help'.

Option -- switches to native xorriso command mode.

Mail xorriso support requests to <bug-xorriso@gnu.org>.

Report bugs to <bug-grub@gnu.org>.
Options (29)
OptionDescriptionSource
--appended-signature-size SIZEAdd a note segment reserving SIZE bytes for an appended signaturehelp
--compress no|xz|gz|lzocompress GRUB files [optional]help
--disable-clidisabled command line interface accesshelp
--disable-shim-lockdisable shim_lock verifierhelp
--dtb FILEembed a specific DTBhelp
-d, --directory DIRuse images and modules under DIR [default=/usr/lib/grub/<platform>]help
--fonts FONTSinstall FONTS [default=unicode]help
--install-modules MODULESinstall only MODULES and their dependencies [default=all]help
-k, --pubkey FILEembed FILE as public key for signature checkinghelp
--locales LOCALESinstall only LOCALES [default=all]help
--modules MODULESpre-load specified modules MODULEShelp
--sbat FILESBAT metadatahelp
--themes THEMESinstall THEMES [default=starfield]help
-v, --verboseprint verbose messages.help
-x, --x509key FILEembed FILE as an x509 certificate for appended signature checkinghelp
--arcs-bootenable ARCS (big-endian mips machines, mostly SGI) boot.help
--core-compress xz|none|autochoose the compression to use for core imagehelp
--label-bgcolor COLORuse COLOR for label backgroundhelp
--label-color COLORuse COLOR for labelhelp
--label-font FILEuse FILE as font for labelhelp
-o, --output FILEsave output in FILE [required]help
--product-name STRINGuse STRING as product namehelp
--product-version STRINGuse STRING as product versionhelp
--rom-directory DIRsave ROM images in DIR [optional]help
--sparc-bootenable sparc boot.help
--xorriso FILEuse FILE as xorriso [optional]help
-?, --helpgive this help listhelp
--usagegive a short usage messagehelp
-V, --versionprint program versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.