GRUB-MKRESCUE(1)

โœจ GRUB-MKRESCUE(1) โœจ

okay so bestie, this is the manual for grub-mkrescue โ€” that's the User Commands girlie right there โ€” and she's about to make you a bootable image and absolutely slay while doing it ๐Ÿ’…


๐Ÿ’– 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 it. that's the whole vibe. one tool, every medium, no cap ๐Ÿ’€โœจ

๐Ÿ’… the options (yes, ALL of them, we're doing this) ๐Ÿ’…

  • --compress=no|xz|gz|lzo โ€” compress GRUB files [optional]. pick your compression bestie, or no if you simply refuse
  • --disable-shim-lock โ€” disable shim_lock verifier ๐Ÿ”“
  • --dtb=FILE โ€” embed a specific DTB, very demure, very specific
  • -d, --directory=DIR โ€” use images and modules under DIR [default=/usr/lib/grub/<platform>]
  • --fonts=FONTS โ€” install FONTS [default=unicode] ๐ŸŽ€ (yes the default is the fancy one, we love her)
  • --install-modules=MODULES โ€” install only MODULES and their dependencies [default=all]. so like, be picky if you want
  • -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] โญ (starfield is THAT girl fr)
  • -v, --verbose โ€” print verbose messages. like she's telling you everything that's happening, main character narration energy
  • --arcs-boot โ€” enable ARCS (big-endian mips machines, mostly SGI) boot. Disables HFS+, APM, sparc64 and boot as disk image for i386-pc. little trade-off, no big deal ๐Ÿ’€
  • --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]. required, bestie, don't forget her ๐Ÿซถ
  • --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. like, the energy transfers, iykyk

okay so here's the actual tea โ˜• โ€” she 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. so yes, you're lowkey driving xorriso through her ๐Ÿ’–

Option -- switches to native xorriso command mode. simple as that โœจ

Mail xorriso support requests to <bug-xorriso@gnu.org>. ๐Ÿ“ฌ


๐Ÿ˜ญ REPORTING BUGS ๐Ÿ˜ญ

Report bugs to <bug-grub@gnu.org>. she wants to hear from you (respectfully) ๐Ÿ™ˆ


๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ

grub-mkimage(1)

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. go read the full lore, it's giving director's cut ๐Ÿ‘‘


GRUB 2.12-1ubuntu7.3 โ€” March 2025 โ€” mwah, that's a wrap bestie, go make something bootable ๐Ÿ’œ๐Ÿฆ‹๐ŸŒธ

๐Ÿ“ฆ where this page comes from