GRUB-MKRESCUE(1)

πŸŽ€ grub-mkrescue πŸŽ€

okay so bestie, this one's from the User Commands manual and it is literally the girlboss of bootable rescue images πŸ’– no cap, she makes CDs, USBs, floppies β€” all of it β€” actually boot. sit down, hydrate, we're doing this πŸ¦‹


✨ NAME ✨

grub-mkrescue β€” make a GRUB rescue image πŸ‘‘


✨ SYNOPSIS ✨

grub-mkrescue [OPTION...] [OPTION] SOURCE...

✨ DESCRIPTION ✨

Make GRUB CD-ROM, disk, pendrive and floppy bootable image. that's the whole vibe πŸ’Ώβœ¨

here's every single option, and yes, I'm listing all of them, we don't skip here πŸ™ˆ

  • --appended-signature-size=SIZE β€” adds a note segment that reserves SIZE bytes for an appended signature
  • --compress=no|xz|gz|lzo β€” compress the GRUB files. optional, if you feel like it πŸ’…
  • --disable-cli β€” disables command line interface access
  • --disable-shim-lock β€” disables the shim_lock verifier
  • --dtb=FILE β€” embed one specific DTB
  • -d, --directory=DIR β€” use images and modules that live under DIR. default is /usr/lib/grub/<platform> 🫢
  • --fonts=FONTS β€” install FONTS, default is unicode
  • --install-modules=MODULES β€” install only MODULES plus whatever they depend on, default is all
  • -k, --pubkey=FILE β€” embed FILE as a public key for signature checking πŸ”
  • --locale-directory=DIR β€” use translations under DIR, default is /usr/share/locale
  • --locales=LOCALES β€” install only LOCALES, default is all
  • --modules=MODULES β€” pre-load the specified modules MODULES
  • --sbat=FILE β€” SBAT metadata
  • --themes=THEMES β€” install THEMES, default is starfield ✨
  • -v, --verbose β€” print verbose messages.
  • -x, --x509key=FILE β€” embed FILE as an x509 certificate for signature checking πŸ”
  • --arcs-boot β€” enable ARCS boot (big-endian mips machines, mostly SGI). heads up: this disables HFS+, APM, sparc64, and boot as disk image for i386-pc πŸ’€
  • --core-compress=xz|none|auto β€” pick which compression to use for the core image
  • --label-bgcolor=COLOR β€” use COLOR for the label background 🎨
  • --label-color=COLOR β€” use COLOR for the label 🎨
  • --label-font=FILE β€” use FILE as the font for the label
  • -o, --output=FILE β€” save the output in FILE. required, bestie, you can't skip this one πŸ™
  • --product-name=STRING β€” use STRING as the product name
  • --product-version=STRING β€” use STRING as the product version
  • --rom-directory=DIR β€” save ROM images in DIR. optional πŸ“
  • --sparc-boot β€” enable sparc boot. and again: this 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

real talk, this bit matters: mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. so like, they match up, okay? iykyk πŸ’…

Generates a bootable CD/USB/floppy image. πŸŽ€ and listen β€” arguments other than options to this program get passed straight to xorriso, and they 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. so iconic of her.

Mail xorriso support requests to <bug-xorriso@gnu.org>. πŸ“¬


✨ REPORTING BUGS ✨

Report bugs to <bug-grub@gnu.org>. fr fr, they wanna hear it 🫢


✨ SEE ALSO ✨

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. slay πŸ“–πŸ’–


and that's the whole page, bestie 🌈 this was GRUB 2.12, from April 2026 β€” mwah, go make something bootable πŸ’…βœ¨πŸ’–

πŸ“¦ where this page comes from